#2621 closed defect (duplicate)
editgpx can't save modified gpx file
Reported by: | pert | Owned by: | team |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | editgpx | Cc: |
Description
Using Save or Save as from the editgpx plugin results in crash:
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1605
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1605
Last Changed Date: 2009-05-19 19:11:56 +0200 (Tue, 19 May 2009)
Java version: 1.6.0_13
Plugins: AgPifoJ;editgpx;validator
Plugin AgPifoJ Version: 14916
Plugin editgpx Version: 14247
Plugin validator Version: 14406
java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.String
at org.openstreetmap.josm.io.GpxWriter.writeAttr(GpxWriter.java:70)
at org.openstreetmap.josm.io.GpxWriter.wayPoint(GpxWriter.java:238)
at org.openstreetmap.josm.io.GpxWriter.writeTracks(GpxWriter.java:156)
at org.openstreetmap.josm.io.GpxWriter.write(GpxWriter.java:54)
at org.openstreetmap.josm.actions.SaveActionBase.save(SaveActionBase.java:206)
at org.openstreetmap.josm.actions.SaveActionBase.save(SaveActionBase.java:142)
at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:57)
at org.openstreetmap.josm.actions.SaveActionBase.actionPerformed(SaveActionBase.java:38)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
comment:3 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Just noticed #2359 which seems to be hitting the same bug. I can't provide the problem gpx file either
since I can't save it :-)
Maybe it would upload to osm? I could try if that would be helpful. But then I will need to shutdown the josm instance in a few minutes ...