Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#6230 closed defect (duplicate)

NPE clicking on map view with activated main menu

Reported by: skyper Owned by: team
Priority: normal Component: Core
Version: latest Keywords: template_report NPE click map viw menu
Cc:

Description

What steps will reproduce the problem?

  1. download some data
  2. click on the main menu and move around
  3. click in the map view

I had only one layer open.

What is the expected result?

The menu will close.

What happens instead?

NPE

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-04-18 01:31:34
Last Changed Author: bastiK
Revision: 4036
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-04-17 23:29:43 +0200 (Sun, 17 Apr 2011)
Last Changed Rev: 4036

Identification: JOSM/1.5 (4036 en)
Memory Usage: 51 MB / 241 MB (20 MB allocated, but free)
Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK Client VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: buildings_tools (25469)
Plugin: multipoly-convert (25192)
Plugin: reverter (25578)
Plugin: terracer (25199)
Plugin: turnlanes (25783)
Plugin: undelete (25199)
Plugin: utilsplugin2 (25817)
Plugin: waydownloader (25190)

java.lang.NullPointerException
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseDragged(SelectAction.java:166)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:319)
	at java.awt.Component.processMouseMotionEvent(Component.java:6156)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285)
	at java.awt.Component.processEvent(Component.java:5877)
	at java.awt.Container.processEvent(Container.java:2105)
	at java.awt.Component.dispatchEventImpl(Component.java:4469)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4142)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
	at java.awt.Container.dispatchEventImpl(Container.java:2149)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:13

Attachments (0)

Change History (4)

comment:1 Changed 2 years ago by Zverikk

This bug appears not only after opening main menu, but also when other dialogs are open. See also #6131 and #5725.

comment:2 Changed 2 years ago by Zverikk

Oh. And also #6226, #5916, #5735 and #5866.
I guess you need 10 tickets for this problem to be solved (#6131 has a quick-n-dirty patch, btw).

comment:3 Changed 2 years ago by stoecker

  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 Changed 2 years ago by stoecker

Closed as duplicate of #6131.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.