Modify ↓
Opened 10 years ago
Last modified 5 years ago
#11991 new defect
josm conflict not showing the error
| Reported by: | baditaflorin | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | http 412 upload upload-api-response ResponseCode | Cc: |
Description (last modified by )
i get the dialog that i have a conflict, but the conflict is not displayed
INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages)
INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/34737073...
INFO: OK
INFO: POST https://api.openstreetmap.org/api/0.6/changeset/34737073/upload...
INFO: Precondition Failed
WARNING: java.io.IOException: Server returned HTTP response code: 412 for URL: https://api.openstreetmap.org/api/0.6/changeset/34737073/upload. Cause: java.io.
erver returned HTTP response code: 412 for URL: https://api.openstreetmap.org/api/0.6/changeset/34737073/upload
java.io.IOException: Server returned HTTP response code: 412 for URL: https://api.openstreetmap.org/api/0.6/changeset/34737073/upload
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at org.openstreetmap.josm.io.OsmApi.getConnectionStream(OsmApi.java:733)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:673)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:595)
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:538)
at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:175)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:218)
at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:250)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 412 for URL: https://api.openstreetmap.org/api/0.6/changeset/34737073/upload
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at java.net.HttpURLConnection.getResponseMessage(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseMessage(Unknown Source)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:658)
... 10 more
ERROR: Error header: Precondition failed: The relation 3533355 is used in relation 5209307.
ERROR: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: The relation 3533355 is used in relation 5209307.>
org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: The relation 3533355 is used in relation 5209307.>
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:716)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:595)
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:538)
at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:175)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:218)
at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:250)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
INFO: GET https://api.openstreetmap.org/api/0.6/relation/3533355/relations
Attachments (0)
Change History (2)
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | http 412 upload added |
comment:2 by , 5 years ago
| Keywords: | upload-api-response ResponseCode added |
|---|
Note:
See TracTickets
for help on using tickets.


