Modify

Opened 6 years ago

Closed 6 years ago

#8806 closed defect (fixed)

After removing data layer, dragging causes stack

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

Description

I'm on Mac OS X 10.8.3 with the Apple 1.6 JVM.

After I delete the last data layer (and the Bing imagery is the only layer left) and attempt to pan by ctrl+dragging, I get the stack trace below:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-06-17 01:35:02
Last Changed Author: Don-vip
Revision: 6012
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-06-16 14:44:57 +0200 (Sun, 16 Jun 2013)
Last Changed Rev: 6012

Identification: JOSM/1.5 (6012 en) Mac OS X 10.8.3
Memory Usage: 187 MB / 1015 MB (45 MB allocated, but free)
Java version: 1.6.0_45, Apple Inc., Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx1024M, -Dsun.java2d.opengl=true]

Plugin: OpeningHoursEditor (29435)
Plugin: buildings_tools (29596)
Plugin: jts (29613)
Plugin: reverter (29663)
Plugin: utilsplugin2 (29615)
Plugin: waydownloader (29435)

java.lang.NullPointerException
	at org.openstreetmap.josm.actions.mapmode.SelectAction.selectPrims(SelectAction.java:876)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.selectionEnded(SelectAction.java:635)
	at org.openstreetmap.josm.gui.SelectionManager.mouseReleased(SelectionManager.java:211)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
	at java.awt.Component.processMouseEvent(Component.java:6382)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
	at java.awt.Component.processEvent(Component.java:6147)
	at java.awt.Container.processEvent(Container.java:2083)
	at java.awt.Component.dispatchEventImpl(Component.java:4744)
	at java.awt.Container.dispatchEventImpl(Container.java:2141)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
	at java.awt.Container.dispatchEventImpl(Container.java:2127)
	at java.awt.Window.dispatchEventImpl(Window.java:2489)
	at java.awt.Component.dispatchEvent(Component.java:4572)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:669)
	at java.awt.EventQueue$2.run(EventQueue.java:667)
	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$3.run(EventQueue.java:683)
	at java.awt.EventQueue$3.run(EventQueue.java:681)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:680)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6013/josm:

fix #8806 - NPE in SelectAction

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.