Opened 16 years ago
Closed 16 years ago
#2820 closed defect (worksforme)
NoMethodError uploading a deleted former relation member
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
How to reproduce:
- Deleted a way which is a member of a relation
- JOSM prompts with dialog "member of relation ###. Want to remove this way from the relation?"
- Answered with "Yes, remove"
- tried to upload changes. (I've attached an OSM-file containing one such deleted way which fails to upload
Result:
PUT http://www.openstreetmap.org/api/0.6/changeset/create... OK
POST http://www.openstreetmap.org/api/0.6/changeset/1734245/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/1734245/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/1734245/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/1734245/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/1734245/upload... Internal Server Error
POST http://www.openstreetmap.org/api/0.6/changeset/1734245/upload... Internal Server Error
Error header: NoMethodError: undefined method `<' for nil:NilClass
PUT http://www.openstreetmap.org/api/0.6/changeset/1734245/close... OK
org.openstreetmap.josm.io.OsmTransferException: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Header=<NoMethodError: undefined method `<' for nil:NilClass>,Error Body=<NoMethodError: undefined method `<' for nil:NilClass
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:333)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:105)
at org.openstreetmap.josm.actions.UploadAction$1UploadDiffTask.realRun(UploadAction.java:213)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:102)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:613)
Caused by: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Header=<NoMethodError: undefined method `<' for nil:NilClass>,Error Body=<NoMethodError: undefined method `<' for nil:NilClass
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:445)
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:330)
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | 500error.osm added |
---|
comment:2 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | needinfo → closed |
This was most likely a temporary issue on the API server. The last URL you sent looks fine:
http://www.openstreetmap.org/api/0.6/changeset/1734245/close
Also, these InternalServerErrors are most likely due to a temporary server issue.
Let me know if you still have these kind of problems.
deleted a way whuch is a relation member. upload failing