axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Weber" <webe...@gmail.com>
Subject Corba - harmless IDL generates NPE
Date Thu, 05 Jun 2008 18:40:41 GMT
Hi,

the IDL below (which compiles fine with JacORB IDL) throws an
exception when deployed in Axis2.

Is there a fix or work-around for this bug? Which IDL element causes
the problem?

Thanks,
Juergen

-----------

java.lang.NullPointerException
        at org.apache.axis2.corba.deployer.SchemaGenerator.generateSchema(SchemaGenerator.java:170)
        at org.apache.axis2.corba.deployer.CorbaDeployer.processOperations(CorbaDeployer.java:462)
        at org.apache.axis2.corba.deployer.CorbaDeployer.populateService(CorbaDeployer.java:298)
        at org.apache.axis2.corba.deployer.CorbaDeployer.processService(CorbaDeployer.java:126)
        at org.apache.axis2.corba.deployer.CorbaDeployer.deploy(CorbaDeployer.java:96)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.
java:136)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)

        at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
        at org.apache.axis2.deployment.FileSystemConfigurator.loadServices(FileSystemConfigurator.ja
va:147)
        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(Configura
tionContextFactory.java:82)
        at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSy
stem(ConfigurationContextFactory.java:184)
        at org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:48)
        at org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:99)

-------


module functiontest
{
 exception FunctionTestException
 {
  string<120> text;
 };

 typedef string<2> magict;
 struct BasicTypesS
 {
  char achar;
  short ashort;
  magict m1;
  long along;
  magict m2;
  boolean abooleanTrue;
  boolean abooleanFalse;
  string<3> astring;
 };
        interface FunctionTestService
        {
 BasicTypesS testBasicTypes(in magict ms,
   in BasicTypesS b,
   in char achar, in short ashort, in long along,
   in boolean abooleanTrue,
   in boolean abooleanFalse,
   in magict me)
 raises (FunctionTestException);
 };
};

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message