Modify

Opened 4 years ago

Closed 4 years ago

#12838 closed defect (fixed)

NPE in SaveLayersDialog

Reported by: naoliv Owned by: team
Priority: normal Milestone: 16.05
Component: Core Version:
Keywords: Cc:

Description

I guess I was closing JOSM (but can't remember exactly what caused this):

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.io.SaveLayersDialog$SaveAndProceedAction.redrawIcon(SaveLayersDialog.java:417)
	at org.openstreetmap.josm.gui.io.SaveLayersDialog$SaveAndProceedAction.initForSaveAndExit(SaveLayersDialog.java:402)
	at org.openstreetmap.josm.gui.io.SaveLayersDialog$SaveAndProceedAction.<init>(SaveLayersDialog.java:395)
	at org.openstreetmap.josm.gui.io.SaveLayersDialog.<init>(SaveLayersDialog.java:71)
	at org.openstreetmap.josm.Main.saveUnsavedModifications(Main.java:1044)
	at org.openstreetmap.josm.Main.saveUnsavedModifications(Main.java:1031)
	at org.openstreetmap.josm.Main.exitJosm(Main.java:1085)
	at org.openstreetmap.josm.gui.MainApplication$1.windowClosing(MainApplication.java:115)
	at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
	at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
	at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
	at java.awt.Window.processWindowEvent(Window.java:2058)
	at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
	at java.awt.Window.processEvent(Window.java:2017)
	at java.awt.Component.dispatchEventImpl(Component.java:4891)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-05-11 03:38:33 +0200 (Wed, 11 May 2016)
Build-Date:2016-05-11 01:42:14
Revision:10180
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10180 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 247 MB / 10206 MB (124 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]

Plugins:
- Create_grid_of_ways (31772)
- DxfImport (1006)
- OpeningHoursEditor (31772)
- PicLayer (31895)
- RoadSigns (31895)
- SimplifyArea (31895)
- apache-commons (31895)
- buildings_tools (31895)
- conflation (0.1.9)
- contourmerge (1014)
- download_along (31772)
- editgpx (32148)
- ejml (31895)
- geotools (31895)
- imagery_offset_db (32046)
- importvec (31772)
- indoorhelper (32134)
- jts (31772)
- log4j (31895)
- measurement (32153)
- merge-overlap (31967)
- opendata (32139)
- pbf (32128)
- pdfimport (32019)
- poly (31772)
- reverter (32005)
- scripting (30722)
- todo (29154)
- turnrestrictions (31895)
- undelete (31895)
- utilsplugin2 (32099)

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by Don-vip

Milestone: 16.05

comment:2 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10190/josm:

fix #12838 - NPE

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.