Modify

Opened 3 years ago

Closed 3 years ago

#12954 closed defect (fixed)

An unexpected exception occurred: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

Reported by: species Owned by: team
Priority: normal Milestone: 16.06
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

Appears randomly, e.g. loading csv files, but also on just editing tags on regular OSM objects.

Add tag, edit, OK

What is the expected result?

tag should appear

What happens instead?

tag doesn't appear

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: 2016-06-12 00:26:29 +0200 (Sun, 12 Jun 2016)
Build-Date:2016-06-12 01:33:06
Revision:10357
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10357 en_GB) Linux Debian GNU/Linux 8.5 (jessie)
Memory Usage: 1182 MB / 7154 MB (940 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true, -Djosm.home=<josm.pref>, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
- CADTools (1005)
- ColorPlugin (1414145445)
- FastDraw (32158)
- FixAddresses (32158)
- HouseNumberTaggingTool (31926)
- ImportImagePlugin (32158)
- Mapillary (32158)
- OpeningHoursEditor (32158)
- PicLayer (32158)
- ShapeTools (1000)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- conflation (0.2.0)
- continuosDownload (44)
- contourmerge (1014)
- dataimport (31926)
- editgpx (32223)
- ejml (32158)
- ext_tools (32158)
- fieldpapers (v0.4.0)
- geochat (32158)
- geotools (31895)
- gpxfilter (31923)
- graphview (32158)
- gson (32158)
- importvec (32158)
- indoorhelper (32158)
- jna (32158)
- josm-geojson (31245)
- jts (31906)
- lakewalker (32158)
- log4j (32158)
- mapdust (31923)
- measurement (32158)
- merge-overlap (32158)
- namemanager (32158)
- native_password_manager (32158)
- opendata (32158)
- pbf (32158)
- photo_geotagging (32158)
- poly (32158)
- print (32191)
- public_transport (32158)
- reltoolbox (32158)
- reverter (32158)
- surveyor2 (29210)
- tag2link (31923)
- tageditor (32158)
- tagging-preset-tester (32158)
- terracer (32158)
- turnrestrictions (32158)
- undelete (32158)
- utilsplugin2 (32158)
- walkingpapers (32158)
- wikipedia (32182)

Tagging presets:
- ${HOME}/osm/projekte/access2life/josm-preset-wheelchair/sidewalks_kerbs.xml
- ${HOME}/osm/projekte/access2life/josm-presets/namo_Gehwege.xml
- ${HOME}/osm/tagging_presets/graz-addr.xml
- ${HOME}/osm/tagging_presets/zebra.xml
- http://michreichert.de/osm/wochenaufgabe/wa0607-apotheken/apotheken.xml
- http://openstreetmap.org.pl/kendzi/preset/current/roofspresets.xml
- http://osmtools.de/josm/steps.xml
- https://josm.openstreetmap.de/josmfile?page=Presets/Allergy&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Animal_facilities&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/BloodDonation&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/CampingForOverlanders&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Communication_Towers&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Leaftype&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Light_sources&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/NewParkingFeatures&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/Stolpersteine&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/StolpersteineLight&preset&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1
- https://raw.githubusercontent.com/jacobbraeutigam/JOSM_Preset_street_cabinet/master/street_cabinet.xml
- https://raw.githubusercontent.com/<user.name>/josm-preset-transformap/master/transformap.xml

Map paint styles:
- <josm.pref>/styles/indoor.mapcss
- ${HOME}/osm/projekte/access2life/josm-preset-wheelchair/sidewalks_kerbs.mapcss
- ${HOME}/osm/projekte/bcg/vorarlberg/vogis-shape-stil/vogis-shape-style.mapcss
- ${HOME}/osm/projekte/josm-preset-traffic_sign_direction/direction.mapcss
- https://dl.dropbox.com/u/8010189/Forum%20attachments/Hide_nodes.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Landcover&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LitObjects&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MTB&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/SlovakiaBicycleRoutes&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface-DataEntry&style&zip=1

Validator rules:
- <josm.pref>/validator/indoorhelper.validator.mapcss

Last errors/warnings:
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$WikipediaLoadCategoryAction@2e526343
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$PasteWikipediaArticlesAction@46dc78a5
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$AddWikipediaTagAction@4c61062d
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.graphview.plugin.dialogs.GraphViewDialog$1@6c96aa89
- E: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
	at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2064)
	at java.awt.Component.getLocationOnScreen(Component.java:2038)
	at org.openstreetmap.josm.tools.WindowGeometry.<init>(WindowGeometry.java:61)
	at org.openstreetmap.josm.gui.dialogs.ToggleDialog$DetachedDialog.rememberGeometry(ToggleDialog.java:717)
	at org.openstreetmap.josm.gui.dialogs.ToggleDialog$DetachedDialog$2.componentMoved(ToggleDialog.java:695)
	at java.awt.Component.processComponentEvent(Component.java:6364)
	at java.awt.Component.processEvent(Component.java:6315)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Window.processEvent(Window.java:2029)
	at java.awt.Component.dispatchEventImpl(Component.java:4891)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
	at java.awt.Dialog.show(Dialog.java:1084)
	at java.awt.Component.show(Component.java:1673)
	at java.awt.Component.setVisible(Component.java:1625)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:197)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Don-vip

Milestone: 16.06

comment:2 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10384/josm:

fix #12954 - IllegalComponentStateException with detached dialogs

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.