Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#15801 closed defect (othersoftware)

IllegalComponentStateException: component must be showing on the screen to determine its location

Reported by: deryadilmen Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: template_report javabug Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. I was adding plugins. JOSM crashed. reinstalled it. crashed again.

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46
Revision:13265
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13265 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1709 (16299)
Memory Usage: 213 MB / 247 MB (80 MB allocated, but free)
Java version: 1.8.0_161-b12, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080, \Display1 1920x1080, \Display2 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.manager, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.tk=awt, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.splashport=49948, -Djnlpx.home=<java.home>\bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=%UserProfile%\AppData\Local\Temp\session7619363432646699423, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=%UserProfile%\Desktop\josm.jnlp]

Plugins:
+ ImportImagePlugin (33563)
+ ImproveOsm (126)
+ apache-commons (33668)
+ buildings_tools (33735)
+ ejml (32680)
+ geotools (33958)
+ jts (32699)
+ log4j (32699)
+ opendata (34019)
+ utilsplugin2 (33991)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Region [TMS_BLOCK_v2] Resetting cache
- E: Handled by bug report queue: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (48) of javawsApplicationThreadGroup
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
	at java.awt.Component.getLocationOnScreen_NoTreeLock(Unknown Source)
	at java.awt.Component.getLocationOnScreen(Unknown Source)
	at javax.swing.text.JTextComponent$InputMethodRequestsHandler.getTextLocation(Unknown Source)
	at sun.awt.im.InputMethodContext.getTextLocation(Unknown Source)
	at sun.awt.windows.WInputMethod$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.setVisible(PreferenceDialog.java:127)
	at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:112)
	at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:101)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (35)

comment:1 by Don-vip, 6 years ago

Description: modified (diff)
Summary: i was adding plugins. JOSM crashed. redinstalled it. crashed again.IllegalComponentStateException: component must be showing on the screen to determine its location

comment:2 by Don-vip, 6 years ago

Keywords: javabug added
Resolution: othersoftware
Status: newclosed

javabug:8179665 not fixed in 8u161, you can either:

  • update to 8u162
  • update to 9.0.4
  • or wait for 8u171 update

comment:3 by Don-vip, 6 years ago

Ticket #15841 has been marked as a duplicate of this ticket.

comment:4 by Don-vip, 6 years ago

Ticket #15876 has been marked as a duplicate of this ticket.

comment:5 by Don-vip, 6 years ago

Ticket #15890 has been marked as a duplicate of this ticket.

comment:6 by Don-vip, 6 years ago

Ticket #15892 has been marked as a duplicate of this ticket.

comment:7 by Don-vip, 6 years ago

Ticket #15990 has been marked as a duplicate of this ticket.

comment:8 by Don-vip, 6 years ago

Priority: normalmajor

comment:9 by Don-vip, 6 years ago

Ticket #16022 has been marked as a duplicate of this ticket.

comment:10 by Hb---, 6 years ago

Ticket #16027 has been marked as a duplicate of this ticket.

comment:11 by Don-vip, 6 years ago

Ticket #16035 has been marked as a duplicate of this ticket.

comment:12 by Don-vip, 6 years ago

Ticket #16037 has been marked as a duplicate of this ticket.

comment:13 by Don-vip, 6 years ago

Ticket #16058 has been marked as a duplicate of this ticket.

comment:14 by Don-vip, 6 years ago

Ticket #16111 has been marked as a duplicate of this ticket.

comment:15 by stoecker, 6 years ago

Ticket #16117 has been marked as a duplicate of this ticket.

in reply to:  2 ; comment:16 by stoecker, 6 years ago

Replying to Don-vip:

  • update to 8u162

Seems not to help according to the reports.

in reply to:  16 comment:17 by Don-vip, 6 years ago

Replying to stoecker:

Replying to Don-vip:

  • update to 8u162

Seems not to help according to the reports.

It's strange, on the Oracle website javabug:JDK-8194305 is solved in 8u162 b31 but all bug reports mention 8u162 b12.

Maybe we need to wait next update then.

comment:18 by Don-vip, 6 years ago

Ticket #16131 has been marked as a duplicate of this ticket.

comment:19 by Klumbumbus, 6 years ago

Ticket #16134 has been marked as a duplicate of this ticket.

comment:20 by stoecker, 6 years ago

Ticket #16144 has been marked as a duplicate of this ticket.

comment:21 by stoecker, 6 years ago

Ticket #16152 has been marked as a duplicate of this ticket.

comment:22 by stoecker, 6 years ago

Hmm, can we detect and ignore that error at least when it can't be fixed?

comment:23 by Don-vip, 6 years ago

I can't see easily how, it seems to happen randomly when any window/dialog is shown. javabug:8194112 has been resolved in 8u171 b01 so this time we're sure this version will contain the fix. Next Oracle CPU is scheduled on 17th April 2018, only a few days to wait.

Last edited 6 years ago by Don-vip (previous) (diff)

comment:24 by stoecker, 6 years ago

Detect the error in the bug report handler and show a notice how to fix it?

Still suboptimal, but probably more helpful than the xxxth duplicate report.

comment:25 by Don-vip, 6 years ago

Ticket #16198 has been marked as a duplicate of this ticket.

comment:26 by Don-vip, 6 years ago

Java 8u171 has been released yesterday. This bug is the first one listed in the release notes.

comment:27 by Don-vip, 6 years ago

Ticket #16216 has been marked as a duplicate of this ticket.

comment:28 by Don-vip, 6 years ago

Ticket #16246 has been marked as a duplicate of this ticket.

comment:29 by Don-vip, 6 years ago

Ticket #16250 has been marked as a duplicate of this ticket.

comment:30 by Don-vip, 6 years ago

Ticket #16271 has been marked as a duplicate of this ticket.

comment:31 by Don-vip, 6 years ago

Ticket #16807 has been marked as a duplicate of this ticket.

comment:32 by stoecker, 5 years ago

Ticket #17122 has been marked as a duplicate of this ticket.

comment:33 by Don-vip, 5 years ago

Ticket #17347 has been marked as a duplicate of this ticket.

comment:34 by Don-vip, 5 years ago

Ticket #18159 has been marked as a duplicate of this ticket.

comment:35 by simon04, 4 years ago

Ticket #19144 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.