Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#524 closed defect (fixed)

GPX saves and exports fail frequently as do saving as osm .xml

Reported by: anonymous Owned by: framm
Priority: major Milestone:
Component: Core Version: latest
Keywords: gpx save Cc:

Description

Here is the error -- I get it by trying to save or export gpx and after I successful gpx save josm found that osm.xml was an unknow file extension when trying to save. this script is from a failed gpx save or export.

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: 482
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 482
Last Changed Date: 2007-12-02 23:57:42 +0100 (Sun, 02 Dec 2007)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.layer.OsmDataLayer.toGpxData(OsmDataLayer.java:360)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.toGpxData(OsmDataLayer.java:368)
at org.openstreetmap.josm.actions.GpxExportAction.exportGpx(GpxExportAction.java:125)
at org.openstreetmap.josm.actions.GpxExportAction.actionPerformed(GpxExportAction.java:65)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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 (2)

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

Resolution: fixed
Status: newclosed

Fixed in r486.

comment:2 by Gabriel Ebner <ge@…>, 18 years ago

Sorry. That was supposed to read r483.

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.