Modify

Opened 14 years ago

Closed 14 years ago

#5634 closed defect (fixed)

junctionchecking plugin crashes when deleting a layer

Reported by: rickmastfan67 Owned by: joerg
Priority: major Milestone:
Component: Plugin junctionchecking Version: latest
Keywords: Cc: joerg

Description

Steps to reproduce:

  1. Start a fresh session in JOSM.
  2. Download anything from OSM (example: download relation 417224).
  3. Once the relation (or anything else you downloaded) is loaded in JOSM, on the right in the layers area, delete your only "layer", which should be called "Data Layer 1".
  4. junctionchecking crashes.

NOTE: This happens by itself or with other plugins installed.


Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-11-09 02:31:31
Last Changed Author: bastiK
Revision: 3652
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-11-08 23:29:07 +0100 (Mon, 08 Nov 2010)
Last Changed Rev: 3652

Identification: JOSM/1.5 (3652 en)
Memory Usage: 115 MB / 455 MB (47 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7

Plugin: junctionchecking (18)

org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin junctionchecking

at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:32)
at org.openstreetmap.josm.plugins.PluginHandler.notifyMapFrameChanged(PluginHandler.java:740)
at org.openstreetmap.josm.Main.setMapFrame(Main.java:185)
at org.openstreetmap.josm.Main.removeLayer(Main.java:196)
at org.openstreetmap.josm.gui.dialogs.LayerListDialog$DeleteLayerAction.actionPerformed(LayerListDialog.java:315)
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.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)

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:29)
... 30 more

Caused by: java.lang.NullPointerException

at org.openstreetmap.josm.plugins.JunctionChecker.JunctionCheckerPlugin.mapFrameInitialized(JunctionCheckerPlugin.java:85)
... 35 more

Attachments (0)

Change History (4)

comment:1 by bastiK, 14 years ago

Owner: changed from team to joerg

comment:2 by rickmastfan67, 14 years ago

Priority: normalmajor

Any update on this? Because it's starting to really annoy me.

comment:3 by joerg, 14 years ago

Okay, I uploaded a new version, the bug shouldn`t exist.

comment:4 by joerg, 14 years ago

Cc: joerg added
Resolution: fixed
Status: newclosed

Modify Ticket

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