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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2004/10/25 17:49:45 UTC
[jira] Resolved: (AXIS-1526) RPCProvider debug logging causes ArrayIndexOutOfBoundsException
[ 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