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
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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]