axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Harshana Ranabahu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-593) NullPointerException in SchemaCompiler
Date Thu, 20 Apr 2006 11:33:06 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-593?page=comments#action_12375339 ] 

Ajith Harshana Ranabahu commented on AXIS2-593:
-----------------------------------------------

It will be very helpful if you can attach a similar WSDL so that we can recreate the issue.

> 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
>     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


Mime
View raw message