axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Koch (JIRA)" <>
Subject [jira] [Commented] (AXIS2-4445) NPE in DefaultSchemaGenerator when generating a wrapped array schema for an inner class
Date Fri, 07 Dec 2012 09:27:24 GMT


Johannes Koch commented on AXIS2-4445:

Is there a workaround for this problem?

I have a service that works on version 1.5.6 but does *not* work on version 1.6.2 anymore.
> NPE in DefaultSchemaGenerator when generating a wrapped array schema for an inner class
> ---------------------------------------------------------------------------------------
>                 Key: AXIS2-4445
>                 URL:
>             Project: Axis2
>          Issue Type: Sub-task
>          Components: kernel
>    Affects Versions: 1.5
>            Reporter: Detelin Yordanov
>            Assignee: Sagara Gunathunga 
>             Fix For: 1.7.0
>         Attachments: DefaultSchemaGenerator.diff, WrappedArrayInnerClassService.aar
> When generating the schema for a class'  field which is an inner class, with the wrapped
array support turned on, a NPE gets thrown:
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaforFieldsandProperties(
>         at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(
>         at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchemaForType(
>         at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.processMethods(
>         at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(
>         at org.apache.axis2.deployment.util.Utils.fillAxisService(
>         at org.apache.axis2.deployment.ServiceBuilder.populateService(
> Reason seems to be that the type table is searched for a complex type e.g. Data$Number,
while it should be Data_Number (replacing the dollar character with an underscore).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message