Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6737 closed defect (fixed)

unhandled exception on delete

Reported by: dieterdreist Owned by: dieterdreist
Priority: critical Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. draw a new node
  2. delete it
  3. you get the exception

this also happened with yesterdays version.

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-08-26 01:31:32
Last Changed Author: stoecker
Revision: 4337
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-08-26 00:16:03 +0200 (Fri, 26 Aug 2011)
Last Changed Rev: 4337

Identification: JOSM/1.5 (4337 en)
Memory Usage: 91 MB / 989 MB (8 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: ImportImagePlugin (26530)
Plugin: OpeningHoursEditor (26530)
Plugin: PicLayer (26530)
Plugin: alignways (26530)
Plugin: buildings_tools (26530)
Plugin: dataimport (26174)
Plugin: osmarender (26174)
Plugin: pdfimport (26530)
Plugin: photo_geotagging (26530)
Plugin: proj4j (26509)
Plugin: public_transport (26530)
Plugin: restart (26406)
Plugin: reverter (26530)
Plugin: tagging-preset-tester (26406)
Plugin: undelete (26530)
Plugin: utilsplugin2 (26530)
Plugin: waypoint_search (26406)

java.lang.NullPointerException
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.getDeleteParameters(DeleteAction.java:327)
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.addHighlighting(DeleteAction.java:195)
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.giveUserFeedback(DeleteAction.java:252)
	at org.openstreetmap.josm.actions.mapmode.DeleteAction.eventDispatched(DeleteAction.java:387)
	at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2366)
	at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2258)
	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2216)
	at java.awt.Component.dispatchEventImpl(Component.java:4549)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4481)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
	at java.awt.Component.dispatchEventImpl(Component.java:4523)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4481)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
	at java.awt.EventQueue.access$000(EventQueue.java:84)
	at java.awt.EventQueue$1.run(EventQueue.java:602)
	at java.awt.EventQueue$1.run(EventQueue.java:600)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$2.run(EventQueue.java:616)
	at java.awt.EventQueue$2.run(EventQueue.java:614)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (7)

comment:1 by dieterdreist, 13 years ago

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

comment:2 by rickmastfan67, 13 years ago

This seems to be a Linux only problem as I can't duplicate it in Windows 7 x64.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-08-26 01:31:32
Last Changed Author: stoecker
Revision: 4337
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-08-26 00:16:03 +0200 (Fri, 26 Aug 2011)
Last Changed Rev: 4337

Identification: JOSM/1.5 (4337 en)
Memory Usage: 122 MB / 3640 MB (90 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7

Plugin: OpeningHoursEditor (26530)
Plugin: buildings_tools (26530)
Plugin: imageryadjust (26530)
Plugin: licensechange (26570)
Plugin: mapdust (26406)
Plugin: measurement (26375)
Plugin: michigan_left (26406)
Plugin: openstreetbugs (26530)
Plugin: restart (26406)
Plugin: reverter (26530)
Plugin: turnlanes (26530)
Plugin: turnrestrictions (26530)
Plugin: undelete (26530)
Plugin: utilsplugin2 (26530)

It's that, or one of your plugins is causing the problem. Try deactivating the ones that don't show up in the ones I'm running and see if the problem happens again.

Last edited 13 years ago by rickmastfan67 (previous) (diff)

comment:3 by stoecker, 13 years ago

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

comment:4 by stoecker, 13 years ago

Owner: changed from team to dieterdreist
Status: newneedinfo

Please explain step-by-step what you did.

comment:5 by xeen, 13 years ago

to reproduce this go into select mode, highlight something and switch to delete mode using the keyboard shortcut (and don't move your mouse). I actually knew about this but checked the wrong variable. Patch in a second…

comment:6 by xeen, 13 years ago

Resolution: fixed
Status: needinfoclosed

In [4348/josm]:

fix #6737

comment:7 by dieterdreist, 13 years ago

Thank you Xeen, it's fixed in 4348.

Modify Ticket

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