Error during code generation: Stack size mismatch on branch generated by
org.jibx.binding.def.NestedCollection
--------------------------------------------------------------------------------------------------------------
Key: JIBX-161
URL: http://jira.codehaus.org/browse/JIBX-161
Project: JiBX
Issue Type: Bug
Components: core
Affects Versions: JiBX 1.1.3, JiBX 1.1.4
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
Reporter: Andreas Loew
Fix For: JiBX 1.1.4
Attachments: jibx_issue.zip
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 [EMAIL PROTECTED]
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)
Many thanks in advance for looking into this!
Happy Easter,
Andreas
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs