Hi Goze,
I've made a number of fixes since RC0 that effect the code generation.
If you can checkout the code from CVS and build with that I suspect this
will now work. If it's still broken with the CVS code please let me know
and add a bug report in Jira, including your binding definition and
objects (preferably with an Ant build.xml to reproduce the problem).
- Dennis
Z. Bilge GÖZE wrote:
Hi,
I update the jibx version beta.3.a to 1.0RC0.
When I try to generate jibx classes with new version, following error
is ocurred. But it works with old version.
How can I solve the poblem?
thanks
Goze
[bind] Error running binding compiler
[bind] *** Error during code generation - please report this
error on the JiBX users list so that the condition can be caught
during validation ***
[bind] java.lang.IllegalStateException: Internal error: Expected
com.test.api.tlbs.routing.RouteLocation on stack, found
java.util.ArrayList
[bind] full stack:
[bind] 0: java.util.ArrayList
[bind] 1: org.jibx.runtime.impl.UnmarshallingContext
[bind] at
org.jibx.binding.classes.MethodBuilder.verifyCompatible(MethodBuilder.java:409)
[bind] at
org.jibx.binding.classes.MethodBuilder.verifyCallStack(MethodBuilder.java:498)
[bind] at
org.jibx.binding.classes.MethodBuilder.appendCallVirtual(MethodBuilder.java:863)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalCall(ObjectBinding.java:547)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:767)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:875)
[bind] at
org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
[bind] at
org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:272)
[bind] at
org.jibx.binding.def.NestedCollection.genContentUnmarshal(NestedCollection.java:132)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:736)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:875)
[bind] at
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:237)
[bind] at
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:153)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:736)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:875)
[bind] at
org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:272)
[bind] at
org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition.java:541)
[bind] at
org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.java:600)
[bind] at
org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.java:578)
[bind] at org.jibx.binding.Compile.compile(Compile.java:303)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at org.apache.tools.ant.Task.perform(Task.java:341)
[bind] at org.apache.tools.ant.Target.execute(Target.java:309)
[bind] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[bind] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[bind] at org.apache.tools.ant.Main.start(Main.java:196)
[bind] at org.apache.tools.ant.Main.main(Main.java:235)
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users