Modify

Opened 13 years ago

Closed 13 years ago

#1664 closed defect (fixed)

ApPifoJ: produces error when deleting last image

Reported by: xeen Owned by: Christian Gallioz <christian.gallioz@…>
Priority: trivial Milestone:
Component: unspecified Version:
Keywords: Cc:

Description

While mapping I delete all images which information I've already used. Deleting the last image results in this error.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1041
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1041
Last Changed Date: 2008-10-13 17:28:13 +0200 (Mon, 13 Oct 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.plugins.agpifoj.AgpifojDialog.displayImage(Unknown Source)
at org.openstreetmap.josm.plugins.agpifoj.AgpifojDialog.showImage(Unknown Source)
at org.openstreetmap.josm.plugins.agpifoj.AgpifojLayer.removeCurrentPhoto(Unknown Source)
at org.openstreetmap.josm.plugins.agpifoj.AgpifojDialog.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 Changed 13 years ago by anonymous

Summary: ApGifoJ produces error when deleting last imageApPifoJ: produces error when deleting last image

comment:2 Changed 13 years ago by stoecker

Owner: changed from framm to Christian Gallioz <christian.gallioz@…>

comment:3 Changed 13 years ago by Christian Gallioz <christian.gallioz@…>

Resolution: fixed
Status: newclosed

This bug seems to have the same cause as #1544 (null image entry).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Gallioz <christian.gallioz@…>.
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.