Modify

Opened 4 years ago

Closed 4 years ago

#11723 closed defect (fixed)

NPE when trying to set location of untagged image using CTRL before using SHIFT

Reported by: anonymous Owned by: holgermappt
Priority: normal Milestone:
Component: Plugin photoadjust Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open untagged image
  2. Hold CTRL key
  3. Press and hold left mouse button on map
  4. Move cursor

What is the expected result?

Image should be placed on map in location from point 3 and direction from point 4

What happens instead?

NPE

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-07-27 01:32:05
Last Changed Author: wiktorn
Revision: 8621
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-07-27 00:01:30 +0200 (Mon, 27 Jul 2015)
Last Changed Rev: 8621

Identification: JOSM/1.5 (8621 pl) Linux Ubuntu 14.04.2 LTS
Memory Usage: 641 MB / 869 MB (255 MB allocated, but free)
Java version: 1.7.0_79, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u79-2.5.5-0ubuntu0.14.04.2

Plugins:
- OpeningHoursEditor (31241)
- PicLayer (31241)
- commons-imaging (31241)
- editgpx (31241)
- geotools (31126)
- jts (31126)
- measurement (31289)
- opendata (31241)
- photo_geotagging (31241)
- photoadjust (31241)
- reverter (31241)
- tag2link (31241)
- utilsplugin2 (31241)

Last errors/warnings:
- E: java.lang.NullPointerException

java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustWorker.changeDirection(PhotoAdjustWorker.java:170)
	at org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustWorker.doMouseDragged(PhotoAdjustWorker.java:113)
	at org.openstreetmap.josm.plugins.photoadjust.PhotoAdjustPlugin$2.mouseDragged(PhotoAdjustPlugin.java:60)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:319)
	at java.awt.Component.processMouseMotionEvent(Component.java:6564)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3330)
	at java.awt.Component.processEvent(Component.java:6285)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4872)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	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:2719)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
	at java.awt.EventQueue.access$300(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.awt.EventQueue$3.run(EventQueue.java:704)
	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:720)
	at java.awt.EventQueue$4.run(EventQueue.java:718)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by holgermappt

Status: newassigned

comment:2 Changed 4 years ago by holgermappt

Resolution: fixed
Status: assignedclosed

Thank you for reporting this bug. It is fixed in [o31413], plugin version 31413.

Modify Ticket

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