Opened 17 years ago
Closed 17 years ago
#700 closed defect (fixed)
Null pointer exception when pressing 'a' right after switching to map layer
Reported by: | anonymous | Owned by: | framm |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce (happened to me twice in a row)
- download image data with ywms
- switch to map layer to display ways
- press 'a' in anticipation of adding a point to a way
Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 615
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 615
Last Changed Date: 2008-04-19 18:24:12 +0200 (Sat, 19 Apr 2008)
java.lang.NullPointerException
at org.openstreetmap.josm.actions.mapmode.DrawAction.computeHelperLine(DrawAction.java:377)
at org.openstreetmap.josm.actions.mapmode.DrawAction.eventDispatched(DrawAction.java:129)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:3867)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:668)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:916)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:794)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:632)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Fixed in r618.