[
https://issues.apache.org/jira/browse/AXIS2-4780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eranga Jayasundera resolved AXIS2-4780.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.7
Fixed. Not the corba module supports unions within structs.
> unions within structs not supported
> -----------------------------------
>
> Key: AXIS2-4780
> URL: https://issues.apache.org/jira/browse/AXIS2-4780
> Project: Axis2
> Issue Type: Bug
> Components: corba
> Affects Versions: 1.5.1
> Reporter: Jürgen Weber
> Assignee: Eranga Jayasundera
> Fix For: 1.7
>
>
> In the IDL below there is a union within a struct. This breaks the deployer
> module unions
> {
> struct A
> {
> union AA switch (boolean)
> {
> case TRUE: short value;
> } theaa;
> };
>
> };
> module functiontest
> {
>
> interface FunctionTestService
> {
> unions::A testUnions();
> };
> };
> org.apache.axis2.deployment.DeploymentException
> at
> org.apache.axis2.corba.deployer.CorbaDeployer.populateService(CorbaDeployer.java:329)
> at
> org.apache.axis2.corba.deployer.CorbaDeployer.processService(CorbaDeployer.java:128)
> ....
> Caused by: java.lang.NullPointerException
> at
> org.apache.axis2.corba.deployer.SchemaGenerator.isNillable(SchemaGenerator.java:484)
> at
> org.apache.axis2.corba.deployer.SchemaGenerator.generateSchemaforFieldsandProperties(Sc
> maGenerator.java:453)
> at
> org.apache.axis2.corba.deployer.SchemaGenerator.generateSchema(SchemaGenerator.java:401
> at
> org.apache.axis2.corba.deployer.SchemaGenerator.generateSchemaForType(SchemaGenerator.j
> a:517)
> at
> org.apache.axis2.corba.deployer.SchemaGenerator.generateSchema(SchemaGenerator.java:250
> at
> org.apache.axis2.corba.deployer.CorbaDeployer.processOperations(CorbaDeployer.java:464)
> at
> org.apache.axis2.corba.deployer.CorbaDeployer.populateService(CorbaDeployer.java:300)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]