Modify

Opened 15 years ago

Closed 15 years ago

#2432 closed defect (fixed)

save-as new file foo.osm failed

Reported by: vbroman@… Owned by: team
Priority: major Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

Running on CEntOS 5.3 under KDE.
Installed new version of JOSM, downloaded from OSM a
small area, tried to download more neighboring area and
got several http 503 errors (note april 21 date),
then tried to save-as in a new directory as foo.osm,
and it failed showing the window that asks for a bug report.
The file system is not out of space and no file permission problems present.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1529
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 1529
Last Changed Date: 2009-04-16 19:26:54 +0200 (Thu, 16 Apr 2009)

Java version: 1.6.0_0
Plugins: AgPifoJ;PicLayer;editgpx;livegps;measurement;openvisible;routing;utilsplugin;validator;wmsplugin
Plugin AgPifoJ Version: 14290
Plugin PicLayer Version: 14428
Plugin editgpx Version: 14247
Plugin livegps Version: 14120
Plugin measurement Version: 14015
Plugin openvisible Version: 14233
Plugin routing Version: 14404
Plugin utilsplugin Version: 14356
Plugin validator Version: 14123
Plugin wmsplugin Version: 14120

java.lang.NullPointerException

at org.openstreetmap.josm.io.OsmWriter.writeDataSources(OsmWriter.java:86)
at org.openstreetmap.josm.actions.SaveActionBase.save(SaveActionBase.java:164)
at org.openstreetmap.josm.actions.SaveActionBase.save(SaveActionBase.java:145)
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:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6108)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (0)

Change History (2)

comment:1 by vbroman@…, 15 years ago

I disabled most of the plugins, save only routing, utils, validator, wms,
restarted, got new data with no server trouble, did a save-as and
specified .osm file type and saved foo.osm, overwriting the old empty file
from the failure, and it succeeded.

comment:2 by anonymous, 15 years ago

Resolution: fixed
Status: newclosed

It hasn't happened again and the server and josm are getting updated
a bunch for the new 0.6 api. I'm assuming it just went away.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.