Modify

Opened 11 years ago

Closed 11 years ago

#8743 closed defect (fixed)

NPE in PicLayer plugin when exiting JOSM

Reported by: LM_1 Owned by: Larry0ua
Priority: normal Milestone:
Component: Plugin piclayer Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Load a picture with PicLayer
  2. Manipulate it
  3. Delete it

What is the expected result?

  • no error

What happens instead?

  • error message appears

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-05-08 01:34:29
Last Changed Author: stoecker
Revision: 5939
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-05-07 14:05:08 +0200 (Tue, 07 May 2013)
Last Changed Rev: 5939

Identification: JOSM/1.5 (5939 en) Windows 7 64-Bit
Memory Usage: 661 MB / 910 MB (147 MB allocated, but free)
Java version: 1.7.0_01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx1024M]

Plugin: OpeningHoursEditor (29435)
Plugin: PicLayer (29531)
Plugin: RoadSigns (29435)
Plugin: Tracer (29435)
Plugin: buildings_tools (29435)
Plugin: czechaddress (29435)
Plugin: download_along (29435)
Plugin: geochat (29592)
Plugin: gpsblam (29435)
Plugin: imagery-xml-bounds (29461)
Plugin: multipoly-convert (29435)
Plugin: openstreetbugs (29435)
Plugin: osmarender (29435)
Plugin: reltoolbox (29535)
Plugin: routes (29435)

java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.piclayer.PicLayerPlugin.layerRemoved(PicLayerPlugin.java:171)
	at org.openstreetmap.josm.gui.MapView.fireLayerRemoved(MapView.java:176)
	at org.openstreetmap.josm.gui.MapView.removeLayer(MapView.java:414)
	at org.openstreetmap.josm.Main.removeLayer(Main.java:296)
	at org.openstreetmap.josm.Main.exitJosm(Main.java:755)
	at org.openstreetmap.josm.gui.MainApplication$1.windowClosing(MainApplication.java:86)
	at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(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.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(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.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 11 years ago

Component: CorePlugin piclayer
Owner: changed from team to Larry0ua
Summary: PicLayer crashNPE in PicLayer plugin when exiting JOSM

comment:2 by Larry0ua, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in [o29601] version, verify after update

Modify Ticket

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