Opened 4 years ago

Closed 8 months ago

#13325 closed defect (fixed)

IndexOutOfBoundsException when undoing deletion of photos

Reported by: simon14@… Owned by: jpietri
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. I doubleclicked on a Mapillary image to select the sequence.
  2. I pressed delete on the keyboard to delete it.
  3. I pressed the undo button in the Mapillary history window.

What is the expected result?

Undo the deletion.

What happens instead?

Message about an error.

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

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-04 17:28:58 +0200 (Sat, 04 Jun 2016)
Build-Date:2016-06-04 15:31:27
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10327 en) Windows 8.1 64-Bit
Memory Usage: 1924 MB / 4507 MB (299 MB allocated, but free)
Java version: 1.8.0_74-b02, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

- BuildingGeneralization
- Mapillary (32158)
- apache-commons (32584)
- apache-http (32584)
- buildings_tools (32309)

Last errors/warnings:
- W: Update plugins - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- W: Warning - <html>Plugin BuildingGeneralization requires JOSM version 10358. The current JOSM version is 10327.<br>You have to update JOSM in order to use this plugin.</html>
- E: java.lang.IndexOutOfBoundsException: Index: 22, Size: 0

java.lang.IndexOutOfBoundsException: Index: 22, Size: 0
	at java.util.concurrent.CopyOnWriteArrayList.add(
	at org.openstreetmap.josm.plugins.mapillary.history.commands.CommandDelete.undo(
	at org.openstreetmap.josm.plugins.mapillary.history.MapillaryRecord.undo(
	at org.openstreetmap.josm.plugins.mapillary.gui.MapillaryHistoryDialog$UndoAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$500(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by simon04

Component: CorePlugin mapillary
Owner: changed from team to nokutu

comment:2 Changed 4 years ago by Don-vip

Summary: Exception when undoing deletion of photosIndexOutOfBoundsException when undoing deletion of photos

comment:3 Changed 4 years ago by Don-vip

Owner: changed from nokutu to floscher

comment:4 Changed 20 months ago by Don-vip

Owner: changed from floscher to jpietri

comment:5 Changed 8 months ago by GhostFoxSledgehammer

Resolution: fixed
Status: newclosed

Modify Ticket

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