axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Gallardo (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-1088) Proxy failing with IndexOutOfBounds or NPE when no @webParam or SEI method with no signature.
Date Thu, 31 Aug 2006 03:58:24 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1088?page=all ]

Nick Gallardo closed AXIS2-1088.
--------------------------------

    Resolution: Fixed

> Proxy failing with IndexOutOfBounds or NPE when no @webParam or SEI method with no signature.
> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1088
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1088
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Attachments: JIRA_1088_ProxyFix.txt
>
>
> There where two separate issues found on Proxy,
> 1) When I do an invoke against an SEI that is missing @WebParam annotation I get IndexOutofBoundsException.
> The spec does not require that @WebParam annotation be present on a parameter. Here's
the stack trace for this issue:
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:572)
> 	at java.util.ArrayList.get(ArrayList.java:347)
> 	at org.apache.axis2.jaxws.client.proxy.DocLitProxyHandler.getParamValues(DocLitProxyHandler.java:241)
> 	at org.apache.axis2.jaxws.client.proxy.DocLitProxyHandler.createDocLitWrappedRequest(DocLitProxyHandler.java:107)
> 	at org.apache.axis2.jaxws.client.proxy.DocLitProxyHandler.createRequest(DocLitProxyHandler.java:71)
> 	at org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.InvokeSEIMethod(BaseProxyHandler.java:138)
> 	at org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.invoke(BaseProxyHandler.java:121)
> 	at $Proxy6.twoWayHolder(Unknown Source)
> 	at jaxws.proxy.wsfvt.test.DocLitWrappedTest.testNullHolder(DocLitWrappedTest.java:151)
> 2) I get a null pointer exception when the SEI operation has an empty signature. This
happens in oneWay case and twoway with an empty request and response wrappers.
> Here's the stack trace for this issue:
> java.lang.NullPointerException
> 	at org.apache.axis2.jaxws.client.proxy.DocLitProxyHandler.getParamValues(DocLitProxyHandler.java:234)
> 	at org.apache.axis2.jaxws.client.proxy.DocLitProxyHandler.createDocLitWrappedRequest(DocLitProxyHandler.java:107)
> 	at org.apache.axis2.jaxws.client.proxy.DocLitProxyHandler.createRequest(DocLitProxyHandler.java:71)
> 	at org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.InvokeSEIMethod(BaseProxyHandler.java:138)
> 	at org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.invoke(BaseProxyHandler.java:121)
> 	at $Proxy6.oneWayVoid(Unknown Source)
> 	at jaxws.proxy.wsfvt.test.DocLitWrappedTest.testOneWayEmpty(DocLitWrappedTest.java:102)
> I will attach a patch for both this problem.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message