Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] Re: E [0001] : Unauthorized & E [0001] : java.lang.NumberFormatException

Hi Matthias,
This seems to be caused by code in the ECF HttpClientRetrieveFileTransfer class that assumes that a port number should follow the ':'. Hence, it makes an attempt to parse the password as an integer. I'm CC'in the ecf-dev mailing list. I guess Buckminster should do something with the URL before passing it to ECF and perhaps they can clarify what the correct approach should be.

What you report but I don't see when running tests on this is the conversion into a 'mailto:' URL. I wonder if that's my newsreader that plays a trick on me. Do you see that in your original mail too?

Thomas Hallgren

On 01/22/2010 04:45 PM, Matthias Kappeller wrote:

in my CQuery i would like to access a rmap from http...

<?xml version="1.0" encoding="UTF-8"?>
<cq:rootRequest name="app1.a" componentType="osgi.bundle"/>

this will result in the error:
E [0001] : Unauthorized
So i've thought i will prefix a (of course valid) login user.

<?xml version="1.0" encoding="UTF-8"?>
<cq:rootRequest name="app1.a" componentType="osgi.bundle"/>

but then i've received the error:
E [0001] : java.lang.NumberFormatException: For input string:
"mailto:test@my.location": For input string: "mailto:test@my.location";

How can i access a rmap from a secure http adress?

Thank U a lot for a possible solution :)


Back to the top