You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jonas Boëthius (JIRA)" <ji...@apache.org> on 2007/03/23 16:29:32 UTC

[jira] Created: (AXIS2-2375) If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side

If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side
-----------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2375
                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.1.1
         Environment: Axis2, version 1.1.1
Tomcat 5.0
JDK1.6.0
            Reporter: Jonas Boëthius
            Priority: Trivial


If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side. The Axis2 server side accepts requests with empty quoted SOAPAction header (""), non-quoted values, and completely missing header, but when the header is present and empty, an exception is raised in the AxisServlet.

>From response:
<soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0; nested exception is: 
	java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2375) If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side

Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srinath Perera resolved AXIS2-2375.
-----------------------------------

    Resolution: Fixed

Add a check to length of the SOAP action

> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: Axis2, version 1.1.1
> Tomcat 5.0
> JDK1.6.0
>            Reporter: Jonas Boëthius
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>
> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side. The Axis2 server side accepts requests with empty quoted SOAPAction header (""), non-quoted values, and completely missing header, but when the header is present and empty, an exception is raised in the AxisServlet.
> From response:
> <soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0; nested exception is: 
> 	java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Closed: (AXIS2-2375) If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side

Posted by "Jonas Boëthius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonas Boëthius closed AXIS2-2375.
---------------------------------


Verified, this problem is no longer present in version 1.2.


> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: Axis2, version 1.1.1
> Tomcat 5.0
> JDK1.6.0
>            Reporter: Jonas Boëthius
>            Priority: Trivial
>
> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side. The Axis2 server side accepts requests with empty quoted SOAPAction header (""), non-quoted values, and completely missing header, but when the header is present and empty, an exception is raised in the AxisServlet.
> From response:
> <soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0; nested exception is: 
> 	java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2375) If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2375:
------------------------------------

    Assignee: Deepal Jayasinghe

> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: Axis2, version 1.1.1
> Tomcat 5.0
> JDK1.6.0
>            Reporter: Jonas Boëthius
>            Assignee: Deepal Jayasinghe
>            Priority: Trivial
>
> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side. The Axis2 server side accepts requests with empty quoted SOAPAction header (""), non-quoted values, and completely missing header, but when the header is present and empty, an exception is raised in the AxisServlet.
> From response:
> <soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0; nested exception is: 
> 	java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Reopened: (AXIS2-2375) If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side

Posted by "Jonas Boëthius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonas Boëthius reopened AXIS2-2375:
-----------------------------------


Sorry, my mistake. I still got the same problem:
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text xml:lang="en-US">java.lang.StringIndexOutOfBoundsException: String index out of range: 0</soapenv:Text></soapenv:Reason><soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;

> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: Axis2, version 1.1.1
> Tomcat 5.0
> JDK1.6.0
>            Reporter: Jonas Boëthius
>            Priority: Trivial
>
> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side. The Axis2 server side accepts requests with empty quoted SOAPAction header (""), non-quoted values, and completely missing header, but when the header is present and empty, an exception is raised in the AxisServlet.
> From response:
> <soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0; nested exception is: 
> 	java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2375) If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe updated AXIS2-2375:
-------------------------------------

    Priority: Blocker  (was: Trivial)

> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: Axis2, version 1.1.1
> Tomcat 5.0
> JDK1.6.0
>            Reporter: Jonas Boëthius
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>
> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side. The Axis2 server side accepts requests with empty quoted SOAPAction header (""), non-quoted values, and completely missing header, but when the header is present and empty, an exception is raised in the AxisServlet.
> From response:
> <soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0; nested exception is: 
> 	java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2375) If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2375.
-------------------------------------

    Resolution: Fixed

i think we have already fixed this in 1.2. please let us know if you see this again.

-- dims

> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2375
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2375
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1.1
>         Environment: Axis2, version 1.1.1
> Tomcat 5.0
> JDK1.6.0
>            Reporter: Jonas Boëthius
>            Priority: Trivial
>
> If the SOAPAction header is not quoted and empty, this gives StringIndexOutOfBoundsException on server side. The Axis2 server side accepts requests with empty quoted SOAPAction header (""), non-quoted values, and completely missing header, but when the header is present and empty, an exception is raised in the AxisServlet.
> From response:
> <soapenv:Detail><Exception>org.apache.axis2.AxisFault: java.lang.StringIndexOutOfBoundsException: String index out of range: 0; nested exception is: 
> 	java.lang.StringIndexOutOfBoundsException: String index out of range: 0&#xd;
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:294)&#xd;
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)&#xd;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org