Whoops, there's a new dependency that's not reflected in the build.xml.
Try running clean-run and compile-run targets before running jar-bind,
this should take care of it. I'll update the build.xml later today.
- Dennis
Chris Chen wrote:
I am getting the following exception when running the ant task
"jar-bind" on the latest CVS HEAD:
[java] java.lang.RuntimeException: Internal error: Attempting to
compare types org.jibx.runtime.IMarshallingContext and
org.jibx.runtime.impl.MarshallingContext
[java] at
org.jibx.binding.classes.MethodBuilder.verifyCompatible(MethodBuilder.ja
va:416)
[java] at
org.jibx.binding.classes.MethodBuilder.verifyCallStack(MethodBuilder.jav
a:498)
[java] at
org.jibx.binding.classes.MethodBuilder.appendCallInterface(MethodBuilder
.java:893)
[java] at
org.jibx.binding.def.DirectObject.genMarshal(DirectObject.java:469)
[java] at
org.jibx.binding.def.DirectObject.genContentMarshal(DirectObject.java:
594)
[java] at
org.jibx.binding.def.DirectProperty.genContentMarshal(DirectProperty.jav
a:154)
[java] at
org.jibx.binding.def.PassThroughComponent.genContentMarshal(PassThroughC
omponent.java:116)
[java] at
org.jibx.binding.def.NestedCollection.genContentMarshal(NestedCollection
.java:207)
[java] at
org.jibx.binding.def.NestedStructure.genContentMarshal(NestedStructure.j
ava:190)
[java] at
org.jibx.binding.def.ObjectBinding.genMarshalContentCall(ObjectBinding.j
ava:809)
[java] at
org.jibx.binding.def.ObjectBinding.genContentMarshal(ObjectBinding.java:
880)
[java] at
org.jibx.binding.def.ElementWrapper.genContentMarshal(ElementWrapper.jav
a:380)
[java] at
org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition.ja
va:562)
[java] at
org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.ja
va:600)
[java] at
org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.ja
va:577)
[java] at org.jibx.binding.Compile.compile(Compile.java:302)
[java] at org.jibx.binding.Compile.main(Compile.java:379)
[java] org.jibx.runtime.JiBXException: Error running binding
compiler
[java] at org.jibx.binding.Compile.compile(Compile.java:318)
[java] at org.jibx.binding.Compile.main(Compile.java:379)
[java] Caused by: java.lang.RuntimeException: Internal error:
Attempting to compare types org.jibx.runtime.IMarshallingContext and
org.jibx.runtime.impl.MarshallingContext
[java] at
org.jibx.binding.classes.MethodBuilder.verifyCompatible(MethodBuilder.ja
va:416)
[java] at
org.jibx.binding.classes.MethodBuilder.verifyCallStack(MethodBuilder.jav
a:498)
[java] at
org.jibx.binding.classes.MethodBuilder.appendCallInterface(MethodBuilder
.java:893)
[java] at
org.jibx.binding.def.DirectObject.genMarshal(DirectObject.java:469)
[java] at
org.jibx.binding.def.DirectObject.genContentMarshal(DirectObject.java:
594)
[java] at
org.jibx.binding.def.DirectProperty.genContentMarshal(DirectProperty.jav
a:154)
[java] at
org.jibx.binding.def.PassThroughComponent.genContentMarshal(PassThroughC
omponent.java:116)
[java] at
org.jibx.binding.def.NestedCollection.genContentMarshal(NestedCollection
.java:207)
[java] at
org.jibx.binding.def.NestedStructure.genContentMarshal(NestedStructure.j
ava:190)
[java] at
org.jibx.binding.def.ObjectBinding.genMarshalContentCall(ObjectBinding.j
ava:809)
[java] at
org.jibx.binding.def.ObjectBinding.genContentMarshal(ObjectBinding.java:
880)
[java] at
org.jibx.binding.def.ElementWrapper.genContentMarshal(ElementWrapper.jav
a:380)
[java] at
org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition.ja
va:562)
[java] at
org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.ja
va:600)
[java] at
org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.ja
va:577)
[java] at org.jibx.binding.Compile.compile(Compile.java:302)
[java] at org.jibx.binding.Compile.main(Compile.java:379)
I am compiling this on a Mac OSX JDK 1.4.2. Do you have any idea how
I can fix this problem? I already tried to look for an answer, but
am unable to figure it out at the moment due to time constraints.
Thank You,
Chris
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users