Hi Juergen,
It seems to be a bug.
As a workaround, convert all string<NN> to string .
Regards,
Eranga
On Fri, Jun 6, 2008 at 12:10 AM, Juergen Weber <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]