axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <j...@apache.org>
Subject [jira] Created: (AXIS2-4780) unions within structs not supported
Date Thu, 15 Jul 2010 16:16:50 GMT
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message