[ http://issues.apache.org/jira/browse/AXIS2-593?page=all ]
     
Davanum Srinivas resolved AXIS2-593:
------------------------------------

    Resolution: Incomplete

Ajith,

Please reopen the bug if you get the wsdl to recreate the problem.

thanks,
dims

> NullPointerException in SchemaCompiler
> --------------------------------------
>
>          Key: AXIS2-593
>          URL: http://issues.apache.org/jira/browse/AXIS2-593
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl, Tools
>     Versions: 0.95
>  Environment: win xp and java 1.4.2_08
>     Reporter: Ole Dalgaard
>     Assignee: Ajith Harshana Ranabahu
>     Priority: Critical

>
> C:\java\axis2-0.95\bin>WSDL2Java.bat -s -uri 
> file:/projects/foo/cfg/wsdls/fooWS.wsdl -o 
> c:\projects\foo\src-generated-client
> Using AXIS2_HOME:   C:\java\axis2-0.95
> Using JAVA_HOME:    C:\j2sdk1.4.2_08
> Exception in thread "main" 
> org.apache.axis2.wsdl.codegen.CodeGenerationException: 
> java.lang.RuntimeException: 
> org.apache.axis2.schema.SchemaCompilationException: 
> java.lang.NullPointerException
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:146)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException: 
> org.apache.axis2.schema.SchemaCompilationException: 
> java.lang.NullPointerException
>         at 
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:162)
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101)
>         ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: 
> java.lang.NullPointerException
>         at 
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184)
>         at 
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115)
>         ... 3 more
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
>         at 
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:604)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328)
>         at 
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:604)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
>         at 
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)
>         at 
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220)
>         at 
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
>         ... 4 more
> I am unable to attach the wsdl to this issue. I am able to mail it. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to