Modify

Opened 13 years ago

Closed 13 years ago

#8370 closed defect (duplicate)

Exception attempting to upload

Reported by: mm0hai Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Install josm from josm apt repository - version 1.5.svn5608
  2. Edit map.
  3. Attempt to upload to OSM.

Upload fails.

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-11-29 02:31:07
Last Changed Author: stoecker
Revision: 5608
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-11-28 23:47:46 +0100 (Wed, 28 Nov 2012)
Last Changed Rev: 5608

Identification: JOSM/1.5 (5608 en_GB)
Memory Usage: 172 MB / 864 MB (124 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found


java.lang.RuntimeException: java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic XXX
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1104)
	at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2252)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:406)
	at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:463)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:619)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:558)
	at org.openstreetmap.josm.io.OsmApi.openChangeset(OsmApi.java:396)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:201)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:247)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic XXX
	at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(HttpURLConnection.java:440)
	at sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty(HttpURLConnection.java:2320)
	at sun.net.www.protocol.http.BasicAuthentication.setHeaders(BasicAuthentication.java:160)
	at sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(HttpURLConnection.java:1898)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1249)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:397)
	... 11 mo

Attachments (0)

Change History (1)

comment:1 by Don-vip, 13 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Closed as duplicate of #7794.
Look at #7794 comment 7: you have to change your password right now and switch to OAuth.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.