Opened 15 years ago
Closed 15 years ago
#4060 closed defect (fixed)
Unable to upload data
Reported by: | Nakor | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | Cc: |
Description
Try to upload attached file. An exception occurs:
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-11-30 13:18:06
Last Changed Author: stoecker
Revision: 2554
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-11-30 13:48:36 +0100 (Mon, 30 Nov 2009)
Last Changed Rev: 2554
Memory Usage: 110 MB / 1333 MB (77 MB allocated, but free)
Java version: 1.6.0_16
Dataset consistency test:
No problems found
Plugins: DirectUpload,PicLayer,editgpx,graphview,measurement,michigan_left,openstreetbugs,remotecontrol,routing,tageditor,utilsplugin,validator,waydownloader,wmsplugin
Plugin DirectUpload Version: 17532
Plugin PicLayer Version: 18597
Plugin editgpx Version: 18595
Plugin graphview Version: 18593
Plugin measurement Version: 18595
Plugin michigan_left Version: 18084
Plugin openstreetbugs Version: 18595
Plugin remotecontrol Version: 18678
Plugin routing Version: 18597
Plugin tageditor Version: 18700
Plugin utilsplugin Version: 18621
Plugin validator Version: 18848
Plugin waydownloader Version: 18617
Plugin wmsplugin Version: 18762
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:68)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:105)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Parameter 'primitiveId' > 0 expected. Got '-5,649'.
at org.openstreetmap.josm.data.osm.history.RelationMember.<init>(RelationMember.java:34)
at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.visit(HistoryBrowserModel.java:891)
at org.openstreetmap.josm.data.osm.Relation.visit(Relation.java:133)
at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.build(HistoryBrowserModel.java:904)
at org.openstreetmap.josm.gui.history.HistoryBrowserModel.dataChanged(HistoryBrowserModel.java:835)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.fireDataChange(OsmDataLayer.java:565)
at org.openstreetmap.josm.actions.UploadAction$UploadPrimitivesTask.finish(UploadAction.java:664)
at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:70)
at java.awt.event.InvocationEvent.dispatch(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.progress.PleaseWaitProgressMonitor$3.run(PleaseWaitProgressMonitor.java:78)
at java.awt.event.InvocationEvent.dispatch(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)
It actually looks like it depends on the scenario:
1) if I open the file and try to upload it, I do not run into the exception
2) if I open the file, select relation 173666, try to display its history (does not work see #4059) then try to upload I can see the exception.
I lower the priority as there is a workaround