You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Dylan J Browne <dy...@lanergy.com> on 2001/07/23 10:51:24 UTC

String Index Out of Bounds in HTTPUtils

Just in case anyway has experienced similar problems, I'm trying to do an
rpc call on a service running on a linux box and I'm getting the following
error. Has anyone seen this before or have any ideas? Thanks v much.

Debug: REQUEST IS:

POST  HTTP/1.0
Host: 192.168.3.25
Content-Type: text/xml; charset=utf-8
Content-Length: 429
SOAPAction: ""

Debug: RESPONSE IS

HTTP/1.1 500 Internal Server Error
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.StringBuffer.charAt(StringBuffer.java:283)
        at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:299)
        at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
tion.java:282)
        at org.apache.soap.rpc.Call.invoke(Call.java:205)
        at samples.SOAPrpc.SOAPManager.callProcedure(SOAPManager.java:64)
        at samples.SOAPrpc.SOAPManager.makeCall(SOAPManager.java:51)

RE: String Index Out of Bounds in HTTPUtils

Posted by "Matthew J. Duftler" <du...@watson.ibm.com>.
Hi Dylan,

Please try one of the nightly builds. I believe this bug was fixed in the
latest CVS tree.

Thanks,
-Matt

> -----Original Message-----
> From: Dylan J Browne [mailto:dylan@lanergy.com]
> Sent: Monday, July 23, 2001 4:51 AM
> To: soap
> Subject: String Index Out of Bounds in HTTPUtils
>
>
> Just in case anyway has experienced similar problems, I'm trying to do an
> rpc call on a service running on a linux box and I'm getting the following
> error. Has anyone seen this before or have any ideas? Thanks v much.
>
> Debug: REQUEST IS:
>
> POST  HTTP/1.0
> Host: 192.168.3.25
> Content-Type: text/xml; charset=utf-8
> Content-Length: 429
> SOAPAction: ""
>
> Debug: RESPONSE IS
>
> HTTP/1.1 500 Internal Server Error
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>         at java.lang.StringBuffer.charAt(StringBuffer.java:283)
>         at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:299)
>         at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
> tion.java:282)
>         at org.apache.soap.rpc.Call.invoke(Call.java:205)
>         at samples.SOAPrpc.SOAPManager.callProcedure(SOAPManager.java:64)
>         at samples.SOAPrpc.SOAPManager.makeCall(SOAPManager.java:51)
>


RE: String Index Out of Bounds in HTTPUtils

Posted by "Matthew J. Duftler" <du...@watson.ibm.com>.
Hi Dylan,

Please try one of the nightly builds. I believe this bug was fixed in the
latest CVS tree.

Thanks,
-Matt

> -----Original Message-----
> From: Dylan J Browne [mailto:dylan@lanergy.com]
> Sent: Monday, July 23, 2001 4:51 AM
> To: soap
> Subject: String Index Out of Bounds in HTTPUtils
>
>
> Just in case anyway has experienced similar problems, I'm trying to do an
> rpc call on a service running on a linux box and I'm getting the following
> error. Has anyone seen this before or have any ideas? Thanks v much.
>
> Debug: REQUEST IS:
>
> POST  HTTP/1.0
> Host: 192.168.3.25
> Content-Type: text/xml; charset=utf-8
> Content-Length: 429
> SOAPAction: ""
>
> Debug: RESPONSE IS
>
> HTTP/1.1 500 Internal Server Error
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>         at java.lang.StringBuffer.charAt(StringBuffer.java:283)
>         at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:299)
>         at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
> tion.java:282)
>         at org.apache.soap.rpc.Call.invoke(Call.java:205)
>         at samples.SOAPrpc.SOAPManager.callProcedure(SOAPManager.java:64)
>         at samples.SOAPrpc.SOAPManager.makeCall(SOAPManager.java:51)
>