Opened 18 years ago
Closed 18 years ago
#88 closed defect (wontfix)
Attempt to upload to dead osm server. No timeout. Cancel causes exception
Reported by: | johnw | Owned by: | imi |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
johnw@unk:~/gpx$ java -jar ../josm-latest.jar
upload to: http://www.openstreetmap.org/api/0.3/node/0
org.xml.sax.SAXException: An error occoured: java.lang.NullPointerException
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:76)
at org.openstreetmap.josm.actions.UploadAction$1.realRun(UploadAction.java:77)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:81)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
probably fixed by now in one of the other "exception when cancelling download" fixes.
Unfortunatly, the real origin of the error is hidden. I changed the code so the real problem get's dumped to stdout before this trace is shown.
Can you please try to reproduce the problem (or keep an eye on the stdout in times of slaggy server ;) and post again, what is dumped with the latest JOSM? (Revision 203 or later)