#4898 closed defect (duplicate)
AssertionError: unexpected null value for n.getEastNorth - when adding a new node (drag virtual node)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: | wiml@… |
Description
This has happened a couple of times to me lately. It sounds pretty similar to #4845, but the exception is different, so I'm opening a separate bug.
What happens is that I click-and-drag on the + sign in the middle of a way to create a new node. The exception dialog comes up. After I dismiss the dialog, the way does contain the new node, but the new node doesn't always draw until I move or otehrwise alter the way.
The exceptions are isolated (i.e., after it happens once and I dismiss the exception dialog, JOSM works normally again).
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-04-12 01:31:59 Last Changed Author: bastiK Revision: 3179 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-04-11 21:07:47 +0200 (Sun, 11 Apr 2010) Last Changed Rev: 3179 Memory Usage: 1018 MB / 1018 MB (151 MB allocated, but free) Java version: 1.6.0_17, Apple Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Mac OS X Dataset consistency test: No problems found Plugins: PicLayer,dataimport,graphview,lakewalker,measurement,remotecontrol,slippymap,validator,wmsplugin Plugin wmsplugin (Version: 20566) Plugin PicLayer (Version: 20217) Plugin dataimport (Version: 20431) Plugin remotecontrol (Version: 19946) Plugin validator (Version: 20579) Plugin slippymap (Version: 19887) Plugin lakewalker (Version: 19624) Plugin graphview (Version: 19441) Plugin measurement (Version: 19681) java.lang.AssertionError: unexpected null value for n.getEastNorth(). id of n is-12885 at org.openstreetmap.josm.command.MoveCommand.executeCommand(MoveCommand.java:97) at org.openstreetmap.josm.command.SequenceCommand.executeCommand(SequenceCommand.java:51) at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:38) at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:64) at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseDragged(SelectAction.java:216) at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:303) at java.awt.Component.processMouseMotionEvent(Component.java:6396) at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3273) at java.awt.Component.processEvent(Component.java:6117) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4299) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) 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)
The backtrace is the same each time except for the node's id. Here are the only two lines that differ:
Memory Usage: 1018 MB / 1018 MB (202 MB allocated, but free) ... java.lang.AssertionError: unexpected null value for n.getEastNorth(). id of n is-13003
Attachments (0)
Change History (5)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 15 years ago
I'm using Mercator ("Projection code EPSG:3857"), displaying coördinates in DMS.
This only happens occasionally, not every time I drag a new node or even every time I use JOSM, but I will update this bug with a version number next time it happens (I usually run latest).
comment:4 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | needinfo → closed |
What projection do you use? Does it happen in any projection? Does it still happen with latest?