Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#765 closed defect (fixed)

[PATCH] When I get to the last geotagged picture by clicking the next button, I always get an error

Reported by: guenterneust@… Owned by: framm
Priority: major Component: Core
Version: Keywords:
Cc: again@…

Description

When I get to the last geotagged picture by clicking the next button, I always get an error

Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 631
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 631
Last Changed Date: 2008-05-11 03:05:11 +0200 (Sun, 11 May 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.layer.GeoImageLayer$5.actionPerformed(GeoImageLayer.java:303)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Attachments (0)

Change History (9)

comment:1 Changed 5 years ago by dnaber

I think this only happens when the last picture was loaded but didn't get an icon in the layer because it couldn't be assigned to a timestamp.

comment:2 Changed 4 years ago by anonymous

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

comment:3 Changed 4 years ago by anonymous

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

comment:4 Changed 4 years ago by Dwi Secundus

  • Cc again@… added

comment:5 Changed 4 years ago by stoecker

Also dups: #2684, #1260, #2471.

comment:6 Changed 4 years ago by jttt

I've rewritten geoimagelayer a bit to fix #2674. Next week when I get time to finish that I will fix this one as well.

comment:7 Changed 4 years ago by jttt

  • Summary changed from When I get to the last geotagged picture by clicking the next button, I always get an error to [PATCH] When I get to the last geotagged picture by clicking the next button, I always get an error

See #2674 for a patch

comment:8 Changed 4 years ago by stoecker

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

In r1704.

comment:9 Changed 4 years ago by jttt

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

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.