Modify

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#16041 closed defect (duplicate)

DataIntegrityProblemException: Primitive cannot be modified in read-only dataset

Reported by: bruno.piguet@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. load a saved OMS file containing modification which could not be uploaded, for example the one attached to this ticket
  2. "mettre à jour les données" (CTRL+U; menu "fichiers"/"Mettre à jour les données"
  3. try to upload the data

What is the expected result?

modified data send to the server

What happens instead?

error message in a pop-up window

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-03-01 10:08:48 +0100 (Thu, 01 Mar 2018)
Build-Date:2018-03-01 09:12:13
Revision:13478
Redirecting:to URL 'https://josm.openstreetmap.de/svn/trunk':
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13478 fr) Windows 10 64-Bit
OS Build number: Windows 10 Home 1709 (16299)
Memory Usage: 247 MB / 247 MB (36 MB allocated, but free)
Java version: 1.8.0_161-b12, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1440x900
Maximum Screen Size: 1440x900
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\POURTR~1\AppData\Local\Temp\josm.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=53043, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ apache-commons (33668)
+ cadastre-fr (33965)
+ ejml (32680)
+ geotools (33958)
+ jts (32699)
+ opendata (34072)
+ pbf (33568)
+ undelete (33980)
+ utilsplugin2 (33991)

Last errors/warnings:
- E: java.io.IOException: Cannot run program "powershell": CreateProcess error=2, Le fichier spécifié est introuvable. Cause : java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
- E: java.io.IOException: Cannot run program "powershell": CreateProcess error=2, Le fichier spécifié est introuvable. Cause : java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
- E: java.io.IOException: Cannot run program "powershell": CreateProcess error=2, Le fichier spécifié est introuvable. Cause : java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
- W: Invalid jar file ''<josm.pref>\plugins\opendata.jar.new'' (exists: false, canRead: false)
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive cannot be modified in read-only dataset: {Node id=-58356 version=0 MV lat=48.32931997438517,lon=2.606262265294791}


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (148)
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive cannot be modified in read-only dataset: {Node id=-58356 version=0 MV lat=48.32931997438517,lon=2.606262265294791}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDatasetNotReadOnly(OsmPrimitive.java:282)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.setOsmId(OsmPrimitive.java:315)
	at org.openstreetmap.josm.io.OsmApi.createPrimitive(OsmApi.java:377)
	at org.openstreetmap.josm.io.OsmServerWriter.makeApiRequest(OsmServerWriter.java:232)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesIndividually(OsmServerWriter.java:115)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:214)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:260)
	at org.openstreetmap.josm.gui.io.AsynchronousUploadPrimitivesTask.realRun(AsynchronousUploadPrimitivesTask.java:131)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (1)

URY_20180303.osm (1.5 MB) - added by bruno.piguet@… 8 months ago.
Some data I modified and could not upload to the server

Download all attachments as: .zip

Change History (3)

Changed 8 months ago by bruno.piguet@…

Attachment: URY_20180303.osm added

Some data I modified and could not upload to the server

comment:1 Changed 8 months ago by stoecker

Resolution: duplicate
Status: newclosed

Closed as duplicate of #16039.

comment:2 Changed 8 months ago by Don-vip

Summary: Cannot run program "powershell":DataIntegrityProblemException: Primitive cannot be modified in read-only dataset

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.