[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-users
Subject:    [jibx-users] Exception trying to generate code for large schemas...
From:       Alain Tamayo <alain.tamayo () gmail ! com>
Date:       2010-02-24 15:43:34
Message-ID: 16441d1b1002240743p77df0fa4kf6be7083ed739c7b () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I'm trying yo generate code for a set of about 66 schema files. When I
execute codeGen I get the following output:

Loaded and validated 1 specified schema(s) and 65 referenced schema(s)
Exception in thread "main" java.lang.ClassCastException:
org.jibx.schema.elements.GroupRefElement cannot be cast to
org.jibx.schema.elements.CommonCompositorDefinition
     at
org.jibx.schema.elements.CommonComplexModification.getContentDefinition(CommonComplexModification.java:105)
  at
org.jibx.schema.codegen.custom.ComponentExtension.normalize(ComponentExtension.java:982)
  at
org.jibx.schema.codegen.custom.ComponentExtension.normalize(ComponentExtension.java:847)
  at
org.jibx.schema.codegen.custom.GlobalExtension.normalize(GlobalExtension.java:302)
     at org.jibx.schema.codegen.CodeGen.applyAndNormalize(CodeGen.java:461)
        at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1940)

any idea which the problem might be?

Thanks in advance,

Alain


[Attachment #5 (text/html)]

Hello, <div><br></div><div>I&#39;m trying yo generate code for a set of about 66 \
schema files. When I execute codeGen I get the following \
output:<br><div><br></div><div><div>Loaded and validated 1 specified schema(s) and 65 \
referenced schema(s)</div> <div>Exception in thread &quot;main&quot; \
java.lang.ClassCastException: org.jibx.schema.elements.GroupRefElement cannot be cast \
to org.jibx.schema.elements.CommonCompositorDefinition</div></div><div><div>    <span \
class="Apple-tab-span" style="white-space:pre">	</span>at \
org.jibx.schema.elements.CommonComplexModification.getContentDefinition(CommonComplexModification.java:105)</div>
 <div>    <span class="Apple-tab-span" style="white-space:pre">	</span>at \
org.jibx.schema.codegen.custom.ComponentExtension.normalize(ComponentExtension.java:982)</div><div> \
<span class="Apple-tab-span" style="white-space:pre">	</span>at \
org.jibx.schema.codegen.custom.ComponentExtension.normalize(ComponentExtension.java:847)</div>
 <div>    <span class="Apple-tab-span" style="white-space:pre">	</span>at \
org.jibx.schema.codegen.custom.GlobalExtension.normalize(GlobalExtension.java:302)</div><div> \
<span class="Apple-tab-span" style="white-space:pre">	</span>at \
org.jibx.schema.codegen.CodeGen.applyAndNormalize(CodeGen.java:461)</div> <div>       \
at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1940)</div><div><br></div><div>any \
idea which the problem might be?</div><div><br></div><div>Thanks in advance, \
</div><div><br></div><div>Alain</div></div> </div>



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic