Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4159 closed defect (fixed)

NPE when deleting a data layer

Reported by: Daeron Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:


I got a NPE when I deleted a data-layer. I also had one WMS-layer.

Build-Date: 2009-12-13 00:20:01		
Revision: 2623
Is-Local-Build: true

Memory Usage: 442 MB / 910 MB (137 MB allocated, but free)
Java version: 1.6.0_17

Plugins: PicLayer,lakewalker,measurement,validator,wmsplugin
Plugin PicLayer Version: 19062
Plugin lakewalker Version: 18962
Plugin measurement Version: 19058
Plugin validator Version: 19072
Plugin wmsplugin Version: 18953

	at org.openstreetmap.josm.gui.MapView.fireActiveLayerChanged(
	at org.openstreetmap.josm.gui.MapView.removeLayer(
	at org.openstreetmap.josm.Main.removeLayer(
	at org.openstreetmap.josm.gui.dialogs.LayerListDialog$DeleteLayerAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (4)

comment:1 by Gubaer, 14 years ago

Resolution: fixed
Status: newclosed

(In [2625]) fixed #4159: NPE when deleting a data layer

comment:2 by anonymous, 14 years ago

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

comment:3 by anonymous, 14 years ago

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

comment:4 by anonymous, 14 years ago

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

Modify Ticket

Change Properties
Set your email in Preferences
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.