﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8370	Exception attempting to upload	mm0hai	team	"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 b3BlbnN0cmVldG1hcEBiaXNjdWl0c2ZydWl0Lm9yZy51azpvcGVuc3RyZWV0bWFwQGJpc2N1aXRz
ZnJ1aXQub3JnLnVr
	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 b3BlbnN0cmVldG1hcEBiaXNjdWl0c2ZydWl0Lm9yZy51azpvcGVuc3RyZWV0bWFwQGJpc2N1aXRz
ZnJ1aXQub3JnLnVr
	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
}}}"	defect	new	normal		Core			template_report	
