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 ax...@ws.apache.org on 2004/08/24 04:25:05 UTC

[jira] Created: (AXIS-1526) RPCProvider debug logging causes ArrayIndexOutOfBoundsException

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1526

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1526
    Summary: RPCProvider debug logging causes ArrayIndexOutOfBoundsException
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Phil McCarthy

    Created: Mon, 23 Aug 2004 7:24 PM
    Updated: Mon, 23 Aug 2004 7:24 PM
Environment: java 1.4.0_02-b02 / debian linux


Description:
When a no-argument operation is called in a document-style service, the soap body will have zero entries. There's code to deal with this special case in org.apache.axis.providers.java.RPCProvider.

However, there's a "bodies.get(0)" call in a logging statement outside of this check (line 82 of rev. 1.18).

This causes an ArrayIndexOutOfBounds exception to fire when debug-level logging is enabled.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-1526) RPCProvider debug logging causes ArrayIndexOutOfBoundsException

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1526?page=history ]
     
Davanum Srinivas resolved AXIS-1526:
------------------------------------

    Resolution: Fixed

Applied a fix.

thanks,
dims

> RPCProvider debug logging causes ArrayIndexOutOfBoundsException
> ---------------------------------------------------------------
>
>          Key: AXIS-1526
>          URL: http://issues.apache.org/jira/browse/AXIS-1526
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: current (nightly)
>  Environment: java 1.4.0_02-b02 / debian linux
>     Reporter: Phil McCarthy
>     Priority: Minor

>
> When a no-argument operation is called in a document-style service, the soap body will have zero entries. There's code to deal with this special case in org.apache.axis.providers.java.RPCProvider.
> However, there's a "bodies.get(0)" call in a logging statement outside of this check (line 82 of rev. 1.18).
> This causes an ArrayIndexOutOfBounds exception to fire when debug-level logging is enabled.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira