Modify ↓
Opened 5 years ago
Closed 5 years ago
#19947 closed defect (needinfo)
JosmRuntimeException at QuadBucketPrimitiveStore.removePrimitive when uploading
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Uploading
What is the expected result?
Upload to OSM database
What happens instead?
It uploaded, but it also displayed in JOSM that I did not uploaded (Green up arrow is still displaying)
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-09-06 16:54:59 +0200 (Sun, 06 Sep 2020)
Revision:17013
Build-Date:2020-09-07 01:30:48
URL:https://josm.openstreetmap.de/svn/trunk
Identification: JOSM/1.5 (17013 en_GB) Linux Manjaro Linux
Memory Usage: 807 MB / 960 MB (265 MB allocated, but free)
Java version: 14.0.2+12, N/A, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1440x900 (scaling 1.0x1.0)
Maximum Screen Size: 1440x900
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Desktop environment: KDE
VM arguments: [-Djosm.restart=true]
Dataset consistency test: No problems found
Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ ${HOME}/osm/presets/oneclick.xml
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1
Last errors/warnings:
- 04621.078 E: Conflicts detected - <html>Uploading <strong>failed</strong> because the server has a newer version of one<br>of your nodes, ways, or relations.<br>The conflict is caused by the <strong>way</strong> with id <strong>6 631 155</strong>,<br>the server has version 5, your version is 4.<br><br>Click <strong>Synchronise way 6 631 155 only</strong> to synchronise the conflicting primitive only.<br>Click <strong>Synchronise entire dataset</strong> to synchronise the entire local dataset with the server.<br>Click <strong>Cancel</strong> to abort and continue editing.<br></html>
- 04652.248 E: Error header: Version mismatch: Provided 10, server had: 11 of Way 6631261
- 04652.919 E: Conflicts detected - <html>Uploading <strong>failed</strong> because the server has a newer version of one<br>of your nodes, ways, or relations.<br>The conflict is caused by the <strong>way</strong> with id <strong>6 631 261</strong>,<br>the server has version 11, your version is 10.<br><br>Click <strong>Synchronise way 6 631 261 only</strong> to synchronise the conflicting primitive only.<br>Click <strong>Synchronise entire dataset</strong> to synchronise the entire local dataset with the server.<br>Click <strong>Cancel</strong> to abort and continue editing.<br></html>
- 04816.298 E: Error header: Version mismatch: Provided 320, server had: 321 of Relation 7316937
- 04816.456 E: Conflicts detected - <html>Uploading <strong>failed</strong> because the server has a newer version of one<br>of your nodes, ways, or relations.<br>The conflict is caused by the <strong>relation</strong> with id <strong>7 316 937</strong>,<br>the server has version 321, your version is 320.<br><br>Click <strong>Synchronise relation 7 316 937 only</strong> to synchronise the conflicting primitive only.<br>Click <strong>Synchronise entire dataset</strong> to synchronise the entire local dataset with the server.<br>Click <strong>Cancel</strong> to abort and continue editing.<br></html>
- 04819.139 W: Conflicts detected - <html>There was 1 conflict detected.</html>
- 04879.759 E: org.openstreetmap.josm.io.OsmTransferException: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}. Cause: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}
- 04879.772 E: Handled by bug report queue: org.openstreetmap.josm.io.OsmTransferException: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}. Cause: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}
- 04921.824 E: org.openstreetmap.josm.io.OsmTransferException: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}. Cause: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}
- 04921.830 E: Handled by bug report queue: org.openstreetmap.josm.io.OsmTransferException: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}. Cause: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-0 (19) of main
org.openstreetmap.josm.io.OsmTransferException: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}
at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.cleanupAfterUpload(UploadPrimitivesTask.java:246)
at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:319)
at org.openstreetmap.josm.gui.io.AsynchronousUploadPrimitivesTask.realRun(AsynchronousUploadPrimitivesTask.java:129)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: org.openstreetmap.josm.tools.JosmRuntimeException: failed to remove primitive: {Relation id=-99806 version=0 MVDT]}
at org.openstreetmap.josm.data.osm.QuadBucketPrimitiveStore.removePrimitive(QuadBucketPrimitiveStore.java:128)
at org.openstreetmap.josm.data.osm.DataSet.removePrimitiveImpl(DataSet.java:535)
at org.openstreetmap.josm.data.osm.DataSet.lambda$cleanupDeletedPrimitives$23(DataSet.java:1079)
at org.openstreetmap.josm.data.osm.DataSet.update(DataSet.java:955)
at org.openstreetmap.josm.data.osm.DataSet.cleanupDeletedPrimitives(DataSet.java:1072)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.cleanupAfterUpload(OsmDataLayer.java:658)
at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.lambda$cleanupAfterUpload$0(UploadPrimitivesTask.java:228)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:306)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
at java.desktop/java.awt.Component.show(Component.java:1717)
at java.desktop/java.awt.Component.setVisible(Component.java:1664)
at java.desktop/java.awt.Window.setVisible(Window.java:1023)
at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doBeginTask$3(PleaseWaitProgressMonitor.java:255)
at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doInEDT$0(PleaseWaitProgressMonitor.java:113)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Attachments (0)
Change History (5)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Summary: | Bug with upload → Exception in QuadBucketPrimitiveStore.removePrimitive when uploading |
|---|
comment:3 by , 5 years ago
| Summary: | Exception in QuadBucketPrimitiveStore.removePrimitive when uploading → JosmRuntimeException at QuadBucketPrimitiveStore.removePrimitive when uploading |
|---|
comment:4 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
Replying to riemer.kerkstra@…:
Revision:17013
Build-Date:2020-09-07 01:30:48
Please update first to either current tested version (r17084) or latest (r17239) to see if it's fixed.
comment:5 by , 5 years ago
| Resolution: | → needinfo |
|---|---|
| Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.



I see that you did not update JOSM since #19946. So maybe you did not even restart and this is still an effect of the previous bug?
I see that you updated the relation 7316937 multiple times within a few minutes, so I guess the upload worked.
What did you do to resolve the conflicts?