Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2637 closed defect (duplicate)

Unable to resolve conflict in relation

Reported by: maba.gp@… Owned by: team
Priority: critical Milestone:
Component: Core Version: latest
Keywords: IndexOutOfBoundsException, relation, conflict Cc: Gubaer

Description

Trying to upload, JOSM reported in a popup "Version mismatch: Provided 88, server had: 89 of Relation 31562".
(Side problem: JOSM should offer an on-the-spot possibility to solve this problem.)
As it doesn't, I had to locate this relation and make sure it was downloaded again.
So I had a conflict to solve, just as I wanted.
But when I clicked on any of the buttons to solve it, I got what's in the attached log file. Reproducibly, that is. With 1607 as well as 1590. 1567 doesn't throw the exception but still doesn't solve the conflict.
How am I supposed to solve this conflict in the relation???
I've now saved my changes to an .osm file, manipulated the version number and succeeded with the upload this way but that's certainly not the solution for this. Naturally, I also looked up the change done by the other mapper and repeated it.

Attachments (0)

Change History (4)

comment:1 by maba.gp@…, 15 years ago

Totally cool, I love it NOT:
"Submission rejected as potential spam (Maximum number of external links per post exceeded, Akismet says content is spam)"
Now I get it, the URLs in the logfile are considered external links.
So I can't attach the logfile.
Well so I add it here and have to cripple the URLs:


This is the part from trying to upload:


GET OSMURL/api/capabilities... OK
Kommunikation mit OSMURL/api mittels Protokollversion 0.6
etabliert.
PUT OSMURL/api/0.6/changeset/create... OK
POST OSMURL/api/0.6/changeset/1291033/upload... Conflict
Error header: Version mismatch: Provided 88, server had: 89 of Relation 31562
PUT OSMURL/api/0.6/changeset/1291033/close... OK
GET OSMURL/api/capabilities... OK
Kommunikation mit http://www.openstreetmap.org/api mittels Protokollversion 0.6
etabliert.


Here I clicked on the button to take over the other mapper's version:


Exception occurred during event dispatching:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.openstreetmap.josm.gui.ConflictResolver$ResolveAction.actionPerfo

rmed(ConflictResolver.java:113)

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 Sour

ce)

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.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at org.openstreetmap.josm.gui.ExtendedDialog.<init>(ExtendedDialog.java:

48)

at org.openstreetmap.josm.gui.dialogs.ConflictDialog.resolve(ConflictDia

log.java:120)

at org.openstreetmap.josm.gui.dialogs.ConflictDialog.access$100(Conflict

Dialog.java:48)

at org.openstreetmap.josm.gui.dialogs.ConflictDialog$2.actionPerformed(C

onflictDialog.java:66)

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 Sour

ce)

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)

comment:2 by Gubaer, 15 years ago

Cc: Gubaer added
Resolution: duplicate
Status: newclosed

comment:3 by Gubaer, 15 years ago

Closed as duplicate of #2609.

comment:4 by stoecker, 15 years ago

Regarding the SPAM-Filter. If valid submissions are rejected like yours (which had -1 point) you can log in to solve this. I now finetined the points a bit, so in cases like yours the submission should be possible.

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.