axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Connor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-816) WSDL2Java throws NullPointer
Date Sat, 14 Oct 2006 02:48:01 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-816?page=comments#action_12442139 ] 
            
Michael Connor commented on AXIS2-816:
--------------------------------------


   [[ Old comment, sent by email on Tue, 13 Jun 2006 07:21:27 -0700 (PDT) ]]

I wish I could upload the WSDL file but I spoke with
the company I'm working with and they forbid it.  I
did find another bug though that appears to be the
same issue.  The issue is that ADB doesn't actually
handle all aspects of the specification.  When
compiling with the xmlbeans parser I get past the bug
but have other probems.  I think the resolution needs
to be that rather than throwing a null pointer
exception, a runtime exception should be thrown that
informs the user that ADB is not handling something
properly.

Regards

Michael


http://issues.apache.org/jira/browse/AXIS2-816?page=comments#action_12415921
org.apache.axis2.wsdl.codegen.CodeGenerationException:
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185)
org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:117)
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:186)
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:70)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:410)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334)
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915)
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878)
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643)
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616)
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366)
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:226)
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:181)
http://issues.apache.org/jira/secure/Administrators.jspa


> WSDL2Java throws NullPointer
> ----------------------------
>
>                 Key: AXIS2-816
>                 URL: http://issues.apache.org/jira/browse/AXIS2-816
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl, Tools
>    Affects Versions: 1.0
>         Environment: WinXP / JDK 1.4.2
>            Reporter: Michael Connor
>
> 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:185)
> 	at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> Caused by: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException
> 	at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:117)
> 	at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140)
> 	... 1 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:186)
> 	at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:70)
> 	... 2 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360)
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344)
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:410)
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334)
> 	at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915)
> 	at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878)
> 	at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643)
> 	at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616)
> 	at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577)
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366)
> 	at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:226)
> 	at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:181)
> 	... 3 more
> Exception in thread "main" 

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

        

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