geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-2961) Axis2: fix java.lang.ArrayIndexOutOfBoundsException when deploying the jaxws calculator example
Date Thu, 15 Mar 2007 14:46:09 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481174
] 

Jarek Gawor commented on GERONIMO-2961:
---------------------------------------

There is a number of places where the spli() stuff is done, don't they need to be changed
as well? Also, why do the split() anyway? Can you just do class.getName() instead of class.toString().split("
") (unless I misunderstand what it does)


> Axis2: fix java.lang.ArrayIndexOutOfBoundsException when deploying the jaxws calculator
example
> -----------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2961
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2961
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: Wish List
>         Environment: winxp + sun 1.5 sdk
>            Reporter: Lin Sun
>             Fix For: 2.0
>
>         Attachments: G2961.patch
>
>
> Getting the following example when deploying the calculator example for axis2 (G2952).
  This is because the parameter is integer, thus strParamType.split(" ") length is 1.
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
>         at org.apache.geronimo.axis2.AxisServiceGenerator.fillDocOperationInfo(A
> xisServiceGenerator.java:226)
>         at org.apache.geronimo.axis2.AxisServiceGenerator.fillOperationInformati
> on(AxisServiceGenerator.java:169)
>         at org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(Axi
> sServiceGenerator.java:145)
>         at org.apache.geronimo.axis2.Axis2WebServiceContainer.<init>(Axis2WebSer
> viceContainer.java:101)
>         ... 38 more

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


Mime
View raw message