Modify

Opened 12 years ago

Closed 12 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 Changed 12 years ago by imi

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)

comment:2 Changed 12 years ago by imi

Resolution: wontfix
Status: newclosed

probably fixed by now in one of the other "exception when cancelling download" fixes.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain imi.
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.