Modify ↓
Opened 17 years ago
Closed 17 years ago
#251 closed defect (fixed)
NPE at "Save as" in SaveActionBase (tmpFile)
Reported by: | Owned by: | imi | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | unspecified | Version: | latest |
Keywords: | SaveActionBase, tmpFile, NPE | Cc: |
Description
Steps:
* Download from OSM * several times: some mapping, upload to OSM * Save As -> NPE
Some tmpFile seems to be null in SaveActionBase.
I used JOSM from subversion repository (2007-09-08),
revision 319 04.09.07 of SaveActionBase.
Stacktrace:
Development version. Unknown revision. 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(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1155) at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578) at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475) at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422) at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:783) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:3883) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Viele Gruesse vom Niederrhein
Sascha Rogmann
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Fixed in r343 (r338 in the 0.5 branch).