Opened 16 years ago
Closed 16 years ago
#2282 closed defect (fixed)
Unexpected error when using ctrl-shift-x (Draw lines between raw gps points) with no data loaded
Reported by: | Penguin | Owned by: | team |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Hi,
An unexpected error occured at the JOSM front page (when no data has been loaded) if one toggles the feature "Draw lines between raw gps points." either by pressing the button (if loaded to the button menu) or pressing the shortcut.
This isn't very important as the feature is almost only used when data is loaded. The feature works fine when a GPX file with gps points is loaded.
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1479
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1479
Last Changed Date: 2009-03-08 23:04:16 +0100 (Sun, 08 Mar 2009)
Java version: 1.6.0_11
Plugins: osmarender;validator;wmsplugin
Plugin osmarender Version: 13448
Plugin validator Version: 13918
Plugin wmsplugin Version: 13927
java.lang.NullPointerException
at org.openstreetmap.josm.actions.ToggleGPXLinesAction.actionPerformed(ToggleGPXLinesAction.java:21)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(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.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)
In r1502.