﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
710	Unexpected exception trying to add a node	jpd	framm	"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:[[BR]]
Start Josm.[[BR]]
Open a local GPX file.[[BR]]
Zoom in on a section of tracklog.[[BR]]
Download OSM data for the current view. (I normally download OSM data and GPS data, and have ""Download as new layer"" checked.)[[BR]]
Press 'A' or 'N' (behaviour is the same for both) to add a node.[[BR]]
Unexpected exception error dialog appears.[[BR]]


The submit bug option provides the following trace: [[BR]]

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)
"	defect	closed	major		Core		fixed		
