Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: JiBX 1.1.3, JiBX 1.1.4
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
-
Environment:JibX 1.1.3 (as well as current CVS), Axis2 1.1.1, Tomcat 5.5.17 (Netbeans), Sun JVM 1.5.0_11, CentOS Linux
-
Testcase included:yes
-
Number of attachments :
Description
Don't know whether this may be related to JIBX-133 (which has been marked as fixed), but I run into a very similar exception:
When trying to compile the mapping for the Axis 2 WSDL Benchmark scenario (source code & mapping files have been successfully generated by xsd2jibx from the current CVS and attached to this issue), the following exception is thrown:
Error running binding compiler
-
-
- Error during code generation for file '/home/al130959/Documents/fgsw-xml-ws/axis2-jibx/target/generated-sources/axis2/edu/indiana/extreme/www/wsdl/benchmark1/binding.xml' - please enter a bug report for this error in Jira if the problem is not listed as fixed on the online status page ***
java.lang.IllegalStateException: Stack size mismatch on branch
in method edu.indiana.extreme.www.wsdl.benchmark1.JiBX_MungeAdapter.JiBX_binding_unmarshal
generated by org.jibx.binding.def.NestedCollection@1eb9b91
from stack:
to stack:
0: java.util.ArrayList
at org.jibx.binding.classes.BranchWrapper.setTarget(BranchWrapper.java:183)
at org.jibx.binding.classes.BranchWrapper.setTarget(BranchWrapper.java:200)
at org.jibx.binding.def.NestedCollection.genContentUnmarshal(NestedCollection.java:172)
at org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:798)
at org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:943)
at org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:256)
at org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:190)
at org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:798)
at org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:943)
at org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
at org.jibx.binding.def.BaseMappingWrapper.genContentUnmarshal(BaseMappingWrapper.java:73)
at org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
at org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:190)
at org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:798)
at org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:943)
at org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:256)
at org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:315)
at org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:190)
at org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:798)
at org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:943)
at org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:315)
at org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition.java:604)
at org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.java:669)
at org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.java:661)
at org.jibx.binding.Compile.compile(Compile.java:305)
at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:610)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:551)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:530)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:309)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:276)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760)
at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:257)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
- Error during code generation for file '/home/al130959/Documents/fgsw-xml-ws/axis2-jibx/target/generated-sources/axis2/edu/indiana/extreme/www/wsdl/benchmark1/binding.xml' - please enter a bug report for this error in Jira if the problem is not listed as fixed on the online status page ***
-
Many thanks in advance for looking into this!
Happy Easter,
Andreas
I need to have the actual binding definition in order to duplicate the problem - your zip includes the schema, WSDL, and classes, but not the binding.