Modify

Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#10841 closed defect (othersoftware)

NPE while saving

Reported by: paul.redcell@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report javabug Cc:

Description (last modified by Klumbumbus)

What steps will reproduce the problem?

  1. Extend an existing ditch
  2. Save file to OneDrive folder or Dropbox or Box.

What is the expected result?

File is saved to selected directory.

What happens instead?

File is saved to the directory but an uncaught error sends me to the bug tracker.

Please provide any additional information below. Attach a screenshot if possible.

Revision: 7777
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2014-12-09 18:14:49 +0100 (Tue, 09 Dec 2014)
Build-Date: 2014-12-09 17:17:36
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 7777

Identification: JOSM/1.5 (7777 en) Windows 8.1 64-Bit
Memory Usage: 239 MB / 247 MB (122 MB allocated, but free)
Java version: 1.8.0_25, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files (x86)\Java\jre1.8.0_25\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\Paul\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-45db56c9, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=54171, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (30737)
- areaselector (1418297932)
- log4j (30762)

Last errors/warnings:
- E: java.lang.NullPointerException

java.lang.NullPointerException
	at javax.swing.JComponent.repaint(Unknown Source)
	at sun.swing.FilePane$3.repaintListSelection(Unknown Source)
	at sun.swing.FilePane$3.repaintSelection(Unknown Source)
	at sun.swing.FilePane$3.focusLost(Unknown Source)
	at java.awt.AWTEventMulticaster.focusLost(Unknown Source)
	at java.awt.Component.processFocusEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(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.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$400(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(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.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at javax.swing.JFileChooser.showDialog(Unknown Source)
	at javax.swing.JFileChooser.showSaveDialog(Unknown Source)
	at org.openstreetmap.josm.gui.widgets.SwingFileChooser.showSaveDialog(SwingFileChooser.java:106)
	at org.openstreetmap.josm.gui.widgets.FileChooserManager.openFileChooser(FileChooserManager.java:215)
	at org.openstreetmap.josm.gui.widgets.FileChooserManager.openFileChooser(FileChooserManager.java:198)
	at org.openstreetmap.josm.actions.DiskAccessAction.createAndOpenFileChooser(DiskAccessAction.java:91)
	at org.openstreetmap.josm.actions.DiskAccessAction.createAndOpenFileChooser(DiskAccessAction.java:70)
	at org.openstreetmap.josm.actions.SaveActionBase.createAndOpenSaveFileChooser(SaveActionBase.java:153)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.createAndOpenSaveFileChooser(OsmDataLayer.java:940)
	at org.openstreetmap.josm.actions.SaveAction.getFile(SaveAction.java:59)
	at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:55)
	at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:46)
	at org.openstreetmap.josm.actions.SaveActionBase.actionPerformed(SaveActionBase.java:36)
	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.plaf.basic.BasicButtonListener.mouseR

Attachments (0)

Change History (6)

comment:1 by Don-vip, 10 years ago

Keywords: javabug added
Resolution: othersoftware
Status: newclosed
Summary: Saving after updating a small section of ditchNPE while saving

javabug:6794829. Nothing we can do :(

comment:2 by Klumbumbus, 10 years ago

Description: modified (diff)

comment:3 by Don-vip, 6 years ago

Ticket #16830 has been marked as a duplicate of this ticket.

comment:4 by Don-vip, 6 years ago

Ticket #17508 has been marked as a duplicate of this ticket.

comment:5 by Don-vip, 6 years ago

Ticket #17641 has been marked as a duplicate of this ticket.

comment:6 by simon04, 4 years ago

Ticket #19755 has been marked as a duplicate of this ticket.

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.