Opened 14 years ago

Last modified 14 years ago

#6818 closed defect

error when scaling roundabout — at Version 2

Reported by: anonymous Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: Illegal Argument Exception Cc: dieterdreist

Description (last modified by kolen)

text reported by JOSM is:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-09-05 01:31:49
Last Changed Author: bastiK
Revision: 4399
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-09-04 22:13:51 +0200 (Sun, 04 Sep 2011)
Last Changed Rev: 4399

Identification: JOSM/1.5 (4399 es)
Memory Usage: 829 MB / 1019 MB (242 MB allocated, but free)
Java version: 1.6.0_26, Apple Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Mac OS X
Dataset consistency test: No problems found

Plugin: FixAddresses (26606)
Plugin: contourmerge (1003)
Plugin: routing (26606)
Plugin: turnrestrictions (26606)
Plugin: utilsplugin2 (26624)

java.lang.IllegalArgumentException: No enum const class org.openstreetmap.josm.actions.mapmode.SelectAction$SelectActionCursor.move_to_node
	at java.lang.Enum.valueOf(Enum.java:196)
	at org.openstreetmap.josm.actions.mapmode.SelectAction$SelectActionCursor.valueOf(SelectAction.java:72)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.getCursor(SelectAction.java:232)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:298)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:263)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseMoved(SelectAction.java:481)
	at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:313)
	at java.awt.Component.processMouseMotionEvent(Component.java:6418)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285)
	at java.awt.Component.processEvent(Component.java:6142)
	at java.awt.Container.processEvent(Container.java:2085)
	at java.awt.Component.dispatchEventImpl(Component.java:4735)
	at java.awt.Container.dispatchEventImpl(Container.java:2143)
	at java.awt.Component.dispatchEvent(Component.java:4565)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4295)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
	at java.awt.Container.dispatchEventImpl(Container.java:2129)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4565)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
	at java.awt.EventQueue.access$000(EventQueue.java:85)
	at java.awt.EventQueue$1.run(EventQueue.java:638)
	at java.awt.EventQueue$1.run(EventQueue.java:636)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$2.run(EventQueue.java:652)
	at java.awt.EventQueue$2.run(EventQueue.java:650)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Change History (2)

comment:1 by kolen, 14 years ago

I got the same exception, when trying to join node to line ("j" hotkey).

Backtrace and info: https://gist.github.com/1208686 (very similar to that in ticket)

How to reproduce:

  • Select node positioned close to some line (create it if necessarry)
  • Move this node by dragging with left mouse button
  • While not releasing left mouse button and continuing dragging, press "j" on keyboard (join line to way) (node must be close to way during dragging for successfull join operation)

Occurs each time for me (josm v.4399)

Also, occurs sometimes by executing other actions (not only join line to way, for example pressing 'p' and drawing line, after it this exception raises too).

comment:2 by kolen, 14 years ago

Description: modified (diff)

Made text in ticket preformatted

Note: See TracTickets for help on using tickets.