Modify

Opened 16 years ago

Closed 16 years ago

#705 closed defect (fixed)

Unexpected exception when selecting node and pressing n

Reported by: nils.reuter@… Owned by: framm
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

I get the following unexpected exception when i select a single node an press n to draw a segment. This is reproducible, but occurs only the first time i do it after starting josm.

After the exceptions it seems as i can work on without problems. Sometimes the color of the nodes and ways vanish, but i can not reproduce it and i don't no if it is related to the exception.

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: 613
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 613
Last Changed Date: 2008-04-18 01:35:06 +0200 (Fri, 18 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:3883)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:681)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:938)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:810)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:645)
at java.awt.Component.dispatchEventImpl(Component.java:3857)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
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)


Attachments (0)

Change History (1)

comment:1 by Gabriel Ebner <ge@…>, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r618.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.