camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-3816) ArrayIndexOutOfBoundsException in DefaultHttpBinding
Date Wed, 30 Mar 2011 07:45:05 GMT


Willem Jiang commented on CAMEL-3816:

I just did some test on the issue, and found out it was caused by the request message was
not right. 

As the Http Request was sending with application/x-www-form-urlencoded, which means the message
body should be some string like "", but with the "curl -v -d file.xml 'http://localhost:4443/to2-service/sendMessage",
the message body became "file.xml", and DefaultHttpBinding throw the exception like that.

And it has nothing to do with the Null Http header.

I just did a quick fix for in Camel trunk, please check out latest Camel 2.8-SNAPSHOT to verify
the fix.

> ArrayIndexOutOfBoundsException in DefaultHttpBinding
> ----------------------------------------------------
>                 Key: CAMEL-3816
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 2.4.0, 2.6.0
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>             Fix For: 2.8.0
> See nabble

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message