Opened 15 years ago
Last modified 12 years ago
#5917 closed defect
Exception while uploading changes — at Initial Version
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
Attempting to upload changes. The upload fails; trying again causes the exception again. I don't know what object is causing the problem (there are 158 changed objects).
Saving the current dataset to an .osm file seems to have succeeded. Quitting and restarting
Invoking "Update modified data" causes a very similar exception to be thrown (also attached).
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-02-08 02:31:36 Last Changed Author: bastiK Revision: 3867 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-02-07 16:05:37 +0100 (Mon, 07 Feb 2011) Last Changed Rev: 3867 Identification: JOSM/1.5 (3867 en) Memory Usage: 371 MB / 1019 MB (83 MB allocated, but free) Java version: 1.6.0_22, Apple Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Mac OS X Dataset consistency test: No problems found Plugin: PicLayer (25219) Plugin: dataimport (25192) Plugin: graphview (25199) Plugin: lakewalker (25192) Plugin: measurement (25199) Plugin: openstreetbugs (25199) Plugin: routing (25199) Plugin: turnrestrictions (25199) java.lang.IllegalArgumentException: Parameter 'uid' > 0 expected. Got '0'. at org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive.ensurePositiveLong(HistoryOsmPrimitive.java:36) at org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive.<init>(HistoryOsmPrimitive.java:56) at org.openstreetmap.josm.data.osm.history.HistoryNode.<init>(HistoryNode.java:20) at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.visit(HistoryBrowserModel.java:882) at org.openstreetmap.josm.data.osm.Node.visit(Node.java:136) at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.build(HistoryBrowserModel.java:904) at org.openstreetmap.josm.gui.history.HistoryBrowserModel.primtivesAdded(HistoryBrowserModel.java:787) at org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent.fire(PrimitivesAddedEvent.java:25) at org.openstreetmap.josm.data.osm.DataSet.fireEventToListeners(DataSet.java:908) at org.openstreetmap.josm.data.osm.DataSet.endUpdate(DataSet.java:887) at org.openstreetmap.josm.data.osm.OsmPrimitive.writeUnlock(OsmPrimitive.java:357) at org.openstreetmap.josm.data.osm.OsmPrimitive.setOsmId(OsmPrimitive.java:469) at org.openstreetmap.josm.io.DiffResultProcessor.postProcess(DiffResultProcessor.java:126) at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:435) at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:163) at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:205) at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:236) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-02-08 02:31:36 Last Changed Author: bastiK Revision: 3867 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-02-07 16:05:37 +0100 (Mon, 07 Feb 2011) Last Changed Rev: 3867 Identification: JOSM/1.5 (3867 en) Memory Usage: 371 MB / 1019 MB (87 MB allocated, but free) Java version: 1.6.0_22, Apple Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Mac OS X Dataset consistency test: No problems found Plugin: PicLayer (25219) Plugin: dataimport (25192) Plugin: graphview (25199) Plugin: lakewalker (25192) Plugin: measurement (25199) Plugin: openstreetbugs (25199) Plugin: routing (25199) Plugin: turnrestrictions (25199) java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1034) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:88) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.IllegalArgumentException: Parameter 'uid' > 0 expected. Got '0'. at org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive.ensurePositiveLong(HistoryOsmPrimitive.java:36) at org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive.<init>(HistoryOsmPrimitive.java:56) at org.openstreetmap.josm.data.osm.history.HistoryWay.<init>(HistoryWay.java:22) at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.visit(HistoryBrowserModel.java:896) at org.openstreetmap.josm.data.osm.Way.visit(Way.java:135) at org.openstreetmap.josm.gui.history.HistoryBrowserModel$HistoryPrimitiveBuilder.build(HistoryBrowserModel.java:904) at org.openstreetmap.josm.gui.history.HistoryBrowserModel.dataChanged(HistoryBrowserModel.java:825) at org.openstreetmap.josm.data.osm.event.DataChangedEvent.fire(DataChangedEvent.java:26) at org.openstreetmap.josm.data.osm.DataSet.fireEventToListeners(DataSet.java:908) at org.openstreetmap.josm.data.osm.DataSet.endUpdate(DataSet.java:890) at org.openstreetmap.josm.data.osm.DataSetMerger.merge(DataSetMerger.java:398) at org.openstreetmap.josm.gui.layer.OsmDataLayer.mergeFrom(OsmDataLayer.java:301) at org.openstreetmap.josm.gui.io.UpdatePrimitivesTask$1.run(UpdatePrimitivesTask.java:88) at org.openstreetmap.josm.gui.io.UpdatePrimitivesTask.finish(UpdatePrimitivesTask.java:94) at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:90) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205) at java.awt.Dialog$1.run(Dialog.java:1046) at java.awt.Dialog$3.run(Dialog.java:1098) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1096) at java.awt.Component.show(Component.java:1563) at java.awt.Component.setVisible(Component.java:1515) at java.awt.Window.setVisible(Window.java:842) at java.awt.Dialog.setVisible(Dialog.java:986) at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$3.run(PleaseWaitProgressMonitor.java:83) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


