Opened 15 years ago
Closed 15 years ago
#3286 closed defect (fixed)
JOSM refuses to upload with ResponseCode=500
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Hi.
A rather normal upload fails. The uploaded data can be provided on request.
jo@vostro:~$ java -jar /usr/local/josm/josm-tested.jar
Open file: /home/jo/Desktop/openstreetmap/koenigsdorf-nord.osm (348684 bytes)
GET http://www.openstreetmap.org/api/capabilities... OK
Kommunikation mit http://www.openstreetmap.org/api mittels Protokollversion 0.6 etabliert.
PUT http://www.openstreetmap.org/api/0.6/changeset/create... OK
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/2162503/upload... Internal Server Error
Error header: NameError: uninitialized constant Changeset::SCALE
PUT http://www.openstreetmap.org/api/0.6/changeset/2162503/close... OK
org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Header=<NameError: uninitialized constant Changeset::SCALE>
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:447)
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:330)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:105)
at org.openstreetmap.josm.actions.UploadAction$1UploadDiffTask.realRun(UploadAction.java:215)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:144)
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:619)
The upload succeeded after enlarging the are by downloading an additional piece. I did however not have any changes outside the downloaded area.