Modify

Opened 12 years ago

Closed 12 years ago

#4166 closed defect (fixed)

java.lang.NullPointerException

Reported by: meppen7 Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: delte, slippy map Cc:

Description

  1. Start JOSM
  2. 'Open' gpx-File
  3. Right click on 'Slippy Map' Layer
  4. Click on 'Delete'
  5. Get the following error message:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-12-13 02:31:40
Last Changed Author: jttt
Revision: 2623
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-12-12 21:25:10 +0100 (Sat, 12 Dec 2009)
Last Changed Rev: 2623

Memory Usage: 33 MB / 1016 MB (2 MB allocated, but free)
Java version: 1.6.0_17

Plugins: AddrInterpolation,Create_grid_of_ways,DirectUpload,PicLayer,buildings_tools,colorscheme,dataimport,editgpx,lakewalker,livegps,measurement,michigan_left,multipoly,openvisible,osmarender,plastic_laf,remotecontrol,slippymap,surveyor,tageditor,tagging-preset-tester,terracer,walkingpapers,waydownloader,wmsplugin
Plugin plastic_laf Version: 14016
Plugin AddrInterpolation Version: 18874
Plugin Create_grid_of_ways Version: 17367
Plugin DirectUpload Version: 17532
Plugin PicLayer Version: 19062
Plugin buildings_tools Version: 25
Plugin colorscheme Version: 18413
Plugin dataimport Version: 18071
Plugin editgpx Version: 19052
Plugin lakewalker Version: 18880
Plugin livegps Version: 19056
Plugin measurement Version: 19058
Plugin michigan_left Version: 18084
Plugin multipoly Version: 18962
Plugin openvisible Version: 17536
Plugin osmarender Version: 18971
Plugin remotecontrol Version: 18678
Plugin slippymap Version: 19070
Plugin tageditor Version: 18955
Plugin tagging-preset-tester Version: 14015
Plugin terracer Version: 18924
Plugin walkingpapers Version: 19074
Plugin waydownloader Version: 19047
Plugin wmsplugin Version: 18953
Plugin surveyor Version: 18503

java.lang.NullPointerException

at org.openstreetmap.josm.data.osm.event.DatasetEventManager.activeLayerChange(DatasetEventManager.java:71)
at org.openstreetmap.josm.gui.MapView.fireActiveLayerChanged(MapView.java:107)
at org.openstreetmap.josm.gui.MapView.removeLayer(MapView.java:315)
at org.openstreetmap.josm.Main.removeLayer(Main.java:188)
at org.openstreetmap.josm.gui.dialogs.LayerListDialog$DeleteLayerAction.actionPerformed(LayerListDialog.java:313)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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.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 (1)

comment:1 Changed 12 years ago by Gubaer

Resolution: fixed
Status: newclosed

This was most likely fixed in r2625.

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.