Opened 13 years ago
Closed 13 years ago
#7570 closed defect (fixed)
java.lang.IllegalArgumentException when selecting a boundary relation
Reported by: | AM909 | Owned by: | team |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | exception relation | Cc: | AM909 |
Description
In r5159 (latest), using mirror_downloader plugin:
- Choose File->"Download from OSM Mirror...". Select the "Area Around Places" tab. Search for "whittier, ca". Double-click on the line where "Class Type" is "city" to download it. The problem may or may not be related to downloading the data in this way - the main API is unavailable at this time.
- Open the Relation List window.
- Double-click the Whittier boundary relation to select it. This exception occurs:
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-04-02 01:32:18
Last Changed Author: simon04
Revision: 5159
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-04-01 22:20:11 +0200 (Sun, 01 Apr 2012)
Last Changed Rev: 5159
Identification: JOSM/1.5 (5159 en)
Memory Usage: 344 MB / 742 MB (26 MB allocated, but free)
Java version: 1.6.0_31, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP
Dataset consistency test: No problems found
Plugin: PicLayer (27883)
Plugin: buildings_tools (27984)
Plugin: ext_tools (27981)
Plugin: licensechange (27964)
Plugin: measurement (27957)
Plugin: mirrored_download (28108)
Plugin: openstreetbugs (27852)
Plugin: turnrestrictions (27891)
Plugin: undelete (27852)
Plugin: waydownloader (27852)
java.lang.IllegalArgumentException
at org.openstreetmap.josm.gui.tagging.TaggingPreset$PresetType.forPrimitiveType(TaggingPreset.java:127)
at org.openstreetmap.josm.gui.tagging.TaggingPreset$PresetType.forPrimitive(TaggingPreset.java:113)
at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.selectionChanged(PropertiesDialog.java:956)
at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvents(SelectionEventManager.java:78)
at org.openstreetmap.josm.data.osm.event.SelectionEventManager.access$200(SelectionEventManager.java:20)
at org.openstreetmap.josm.data.osm.event.SelectionEventManager$1.run(SelectionEventManager.java:85)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.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)
Just had the same thing happen to me, except I had this show up when using the middle button of my mouse to cycle through what's was attached to a way.
Here's a better way to duplicate this IMO:
Now, this is also happening with the middle click cycle through. And even if you let go of the middle click in that cycle, the errors will start to pile up since you can't get the cycling to stop until you get all of the messages saying that JOSM has crashed to disappear (using your ESC button on the keyboard). That's why I bumped up the "Priority" to Critical.
Also, this problem doesn't exist in r5048 (the latest build before r5159 was released). Looking at the changests between the two, I would put my money on [5155] introducing this bug.