Opened 17 years ago
Closed 17 years ago
#1529 closed defect (fixed)
NullPointerException when Opening Waypoints from Garmin
| Reported by: | anonymous | Owned by: | framm |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
If I open an gpx-file with Waypoints this error occured.
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 943
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 943
Last Changed Date: 2008-09-10 01:09:39 +0200 (Wed, 10 Sep 2008)
java.lang.NullPointerException
at org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.<init>(MarkerLayer.java:85)
at org.openstreetmap.josm.actions.OpenAction.openFileAsGpx(OpenAction.java:97)
at org.openstreetmap.josm.actions.OpenAction.openFile(OpenAction.java:58)
at org.openstreetmap.josm.actions.OpenAction.actionPerformed(OpenAction.java:49)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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)
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
| Summary: | Opening Waypoints from Garmin → NullPointerException when Opening Waypoints from Garmin |
| Version: | → latest |
comment:2 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
whoops, didn't mean to reassign the ticket -- sorry ;)



Hi,
I can confirm this. I get the same exception with the same JOSM version when opening any of my GPX files. After that it seems I can work normally with JOSM but waypoints from the GPX file are missing.
Cheers,
Chriki