Modify

Opened 7 years ago

Closed 7 years ago

#15287 closed defect (duplicate)

IOOBE in ConflictCollection.get() (after revert + conflict)

Reported by: wiml@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report conflict Cc:

Description

What steps will reproduce the problem?

I don't know if this will reproduce it, but here's what I did leading up to the exception:

  1. Reverted a changeset using the reverter plugin ("revert to new layer")
  2. Reversion had conflicts (some deleted nodes), so I went through the conflict resolution dialogs
  3. Exception/bugreport dialog came up

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-09-02 14:47:18 +0200 (Sat, 02 Sep 2017)
Build-Date:2017-09-02 20:53:16
Revision:12712
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12712 en) Linux Debian GNU/Linux 9.1 (stretch)
Memory Usage: 556 MB / 1554 MB (246 MB allocated, but free)
Java version: 1.8.0_131-8u131-b11-2-b11, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 2560x1440
Maximum Screen Size: 2560x1440
Java package: openjdk-8-jre:amd64-8u131-b11-2
WebStart package: icedtea-netx:amd64-1.6.2-3.1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [-Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/bin/javaws, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy]
Dataset consistency test: No problems found

Plugins:
+ SeaMapEditor (33054)
+ ShapeTools (1220)
+ apache-commons (33517)
+ ejml (32680)
+ geochat (33545)
+ geotools (33380)
+ gson (32680)
+ imagery_offset_db (33547)
+ jts (32699)
+ lakewalker (33161)
+ log4j (32699)
+ mapdust (33232)
+ measurement (33088)
+ opendata (33553)
+ rasterfilters (33269)
+ reverter (33572)
+ todo (30301)
+ undelete (33480)
+ utilsplugin2 (33579)

Tagging presets:
+ https://raw.github.com/hotosm/presets/master/HDM.xml
+ https://raw.githubusercontent.com/OpenSeaMap/josm/master/Presets_Hafen.xml
+ https://raw.githubusercontent.com/OpenSeaMap/josm/master/INT-1-preset.xml
+ http://tasks.hotosm.org/project/1232/preset

Last errors/warnings:
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- E: Error header: The node with the id 5093606893 has already been deleted
- W: Node '5093606893 ‎(25.0709596, 89.9245146)' is already deleted. Skipping object in upload.
- W: New conflict: Conflict [my={Node id=5083243958 version=2 D }, their={Node id=5083243958 version=0 IV lat=25.0750553,lon=89.9122381}]
- W: New conflict: Conflict [my={Node id=5083243964 version=2 D }, their={Node id=5083243964 version=0 IV lat=25.0689524,lon=89.9179888}]
- W: Conflicts detected - <html>There were 5 conflicts detected.</html>
- W: Merging deleted objects failed - <html>The following objects could not be copied to the target object<br>because they are deleted in the target dataset:<ul><li>node 5093439268</li><li>node 5093439271</li><li>node 5093439270</li><li>node 5093439269</li><li>node 5093439272</li><li>40 more...</li></ul></html>
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-1 (21) of JOSM
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
	at java.util.ArrayList.get(ArrayList.java:429)
	at org.openstreetmap.josm.data.conflict.ConflictCollection.get(ConflictCollection.java:274)
	at org.openstreetmap.josm.gui.dialogs.ConflictDialog.getSelectedConflict(ConflictDialog.java:307)
	at org.openstreetmap.josm.actions.AutoScaleAction.updateEnabledState(AutoScaleAction.java:364)
	at org.openstreetmap.josm.actions.AutoScaleAction$ZoomChangeAdapter.zoomChanged(AutoScaleAction.java:406)
	at org.openstreetmap.josm.gui.NavigatableComponent.fireZoomChanged(NavigatableComponent.java:140)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomNoUndoTo(NavigatableComponent.java:677)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:657)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:577)
	at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:686)
	at org.openstreetmap.josm.gui.MapMover.doMoveForDrag(MapMover.java:191)
	at org.openstreetmap.josm.gui.MapMover.mouseDragged(MapMover.java:179)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:320)
	at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:319)
	at java.awt.Component.processMouseMotionEvent(Component.java:6581)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3342)
	at java.awt.Component.processEvent(Component.java:6302)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 7 years ago

Keywords: conflict added
Summary: Exception after revert + conflictIOOBE in ConflictCollection.get() (after revert + conflict)

comment:2 by Don-vip, 7 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #15332.

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.