Hi Tom,

can you please create a bug report at
http://jira.codehaus.org/browse/CASTOR and attach all XSD and
instructions for us to reproduce the problem.

Regards
Ralf


Carey, Tom schrieb:
> Under v1.0.1, the schema generates all the classes successfully.  I
> also appropriately get prompted for name collisions as shown below. 
>  
>   Warning: A class name generation conflict has occured between element
> 'complexType:ProductInstanceType/grps' and element
> 'complexType:ComponenInstanceType/grps'.
>   Please use a Binding file to solve this   problem.Continue anyway [not
> recommended] (y|n|?)n
>  
> Note: I'm looking into using a binding file to resolve those but haven't
> gotten to that yet.
>  
> Under v1.0.4, I get the following NPE attempting to run with the same
> schema input.  Note: I don't get the name collision prompts.
>  
>         java.lang.NullPointerException
>         at
> org.exolab.castor.builder.SourceFactory.processAttributes(SourceFactory.java:148
>         at
> org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:16
>         at
> org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:63
>         at
> org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:337)
>         at
> org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:59
>         at
> org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:337)
>         at
> org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:817
>         at
> org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
>         at
> org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
>         at
> org.exolab.castor.builder.SourceGenerator.processComplexType(SourceGenerator.jav
>         at
> org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:824
>         at
> org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
>         at
> org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
>         at
> org.exolab.castor.builder.SourceGenerator.processComplexType(SourceGenerator.jav
>         at
> org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:824
>         at
> org.exolab.castor.builder.SourceGenerator.generateAllClassFiles(SourceGenerator.
>         at
> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:64
>         at
> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:58
>         at
> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:48
>         at
> org.exolab.castor.builder.SourceGeneratorMain.main(SourceGeneratorMain.java:245)
>  
>  
> If you need more info, let me know.
> /*Tom Carey*/
> /**/Talk America
> office:    215-862-6875
> cell:      215-499-5771
> im:        careytm1
>  

-- 

Syscon Ingenieurbüro für
Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
D-72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Email: [EMAIL PROTECTED]
Web:   www.syscon-informatics.de

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to