Modify

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#710 closed defect (fixed)

Unexpected exception trying to add a node

Reported by: jpd Owned by: framm
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

This happens every time I start josm, but only for the first add. After clearing the error, it seems to work ok.

System:
Windows XP, java 1.5.0_04
Josm 616

Steps to reproduce:
Start Josm.
Open a local GPX file.
Zoom in on a section of tracklog.
Download OSM data for the current view. (I normally download OSM data and GPS data, and have "Download as new layer" checked.)
Press 'A' or 'N' (behaviour is the same for both) to add a node.
Unexpected exception error dialog appears.

The submit bug option provides the following trace:

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: 616
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 616
Last Changed Date: 2008-04-21 02:35:06 +0200 (Mon, 21 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(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)

Attachments (0)

Change History (1)

comment:1 by Michael Bergbauer <michael-osm@…>, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r618 bei Gabriel Ebner

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.