Modify

Opened 17 years ago

Closed 17 years ago

#437 closed defect (worksforme)

Exception when saving

Reported by: berndth@… Owned by: framm
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

I get an exception while saving with the josm-latest.jar (downloaded just a few minutes ago). This is reproducible.

Steps to reproduce:

  • start josm-latest.jar
  • create a new map (via toolbar button)
  • create a node randomly in the map
  • save the result

It seems like the resulting file is okay. Still, an exception follows with this backtrace:

Path: josm
URL: http://www.eigenheimstrasse.de/svn/josm
Repository Root: http://www.eigenheimstrasse.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 320
Node Kind: directory
Last Changed Author: imi
Last Changed Rev: 320
Last Changed Date: 2007-09-04 15:41:49 +0200 (Tue, 04 Sep 2007)

java.lang.NullPointerException

at org.openstreetmap.josm.actions.SaveActionBase.save(SaveActionBase.java:129)
at org.openstreetmap.josm.actions.SaveActionBase.actionPerformed(SaveActionBase.java:46)
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.menuDragMouseReleased(Unknown Source)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit.notifyAWTEventListeners(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.pumpOneEventForHierarchy(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)


I am leaving the priority at "major", since problems with saving are rather nasty, even though everything seems to work well in this case.

Attachments (0)

Change History (1)

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

Resolution: worksforme
Status: newclosed

You're using an out-of-date JOSM version (even from before the switch to 0.5). Please update it.

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.