Modify

Opened 10 years ago

Closed 10 years ago

#10731 closed defect (fixed)

NPE on right click while middle click

Reported by: rayquaza Owned by: team
Priority: minor Milestone: 14.10
Component: Core Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Middle click to see the list of nearby objects
  2. don't move the mouse!
  3. right click and drag to move the map

What is the expected result?

No error message ;-)

What happens instead?

An unexpected error occured.

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-09-29 22:12:08
Last Changed Author: Don-vip
Revision: 7588
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-09-29 23:52:43 +0200 (Mon, 29 Sep 2014)
Last Changed Rev: 7588

Identification: JOSM/1.5 (7588 de) Windows 7 64-Bit
Memory Usage: 215 MB / 1820 MB (24 MB allocated, but free)
Java version: 1.7.0_01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djosm.home=E:\JOSM]
Program arguments: [--debug]
Dataset consistency test: No problems found

Plugins:
- Create_grid_of_ways (30416)
- FastDraw (30416)
- InfoMode (30416)
- OpeningHoursEditor (30609)
- PicLayer (30436)
- SimplifyArea (30624)
- alignways (30631)
- buildings_tools (30485)
- conflation (0.1.7)
- continuosDownload (1412331234)
- contourmerge (1010)
- dataimport (30416)
- download_along (30416)
- geochat (30513)
- graphview (30416)
- imageryadjust (30416)
- importvec (30416)
- jts (30416)
- measurement (30641)
- merge-overlap (30416)
- mirrored_download (30664)
- namemanager (30416)
- notes (v0.9.4)
- osmarender (30416)
- pbf (30690)
- poly (30495)
- print (30416)
- proj4j (30483)
- reltoolbox (30587)
- reverter (30521)
- scripting (30700)
- surveyor2 (28656)
- tag2link (30416)
- tagging-preset-tester (30592)
- terracer (30643)
- todo (29154)
- turnrestrictions (30651)
- undelete (30416)
- utilsplugin2 (30460)

Last errors/warnings:
- W: Unable to detect latest version of JOSM: java.lang.RuntimeException: Could not generate DH keypair
- E: java.lang.NullPointerException
- E: java.lang.NullPointerException
- W: Unable to detect latest version of JOSM: java.lang.RuntimeException: Could not generate DH keypair
- W: Unable to detect latest version of JOSM: java.lang.RuntimeException: Could not generate DH keypair

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.MapMover.mouseDragged(MapMover.java:139)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:319)
	at java.awt.Component.processMouseMotionEvent(Component.java:6552)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3339)
	at java.awt.Component.processEvent(Component.java:6273)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4860)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4686)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4509)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2713)
	at java.awt.Component.dispatchEvent(Component.java:4686)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
	at java.awt.EventQueue.access$000(EventQueue.java:101)
	at java.awt.EventQueue$3.run(EventQueue.java:666)
	at java.awt.EventQueue$3.run(EventQueue.java:664)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:680)
	at java.awt.EventQueue$4.run(EventQueue.java:678)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Attachments (0)

Change History (2)

in reply to:  description comment:1 by Don-vip, 10 years ago

Replying to rayquaza:

Java version: 1.7.0_01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM

Probably unrelated but you should upgrade your version of Java. That's a veeeery old version with lots of bugs.

comment:2 by Don-vip, 10 years ago

Milestone: 14.10
Resolution: fixed
Status: newclosed
Summary: error on right click while middle clickNPE on right click while middle click

Fixed 5 weeks ago in r7590. Please also update JOSM!

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. 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.