NestedCollection issue - java.lang.IllegalStateException: Stack size mismatch
on branch - similar to isse 161 nad 133
----------------------------------------------------------------------------------------------------------------------
Key: JIBX-238
URL: http://jira.codehaus.org/browse/JIBX-238
Project: JiBX
Issue Type: Bug
Components: core
Affects Versions: JiBX 1.1.6
Environment: Jibx 1.6.1a - Java 6
Reporter: Paul Mahoney
Attachments: JibX Test case.zip
This has been reported before (166, 133), but these issues have been closed.
I have just started to contruct the binding files and got this error. So the
binding files are not yewt complete, but should not cause this error.
[bind] Error running binding compiler
[bind]
[bind] *** Error during code generation for file 'C:\Documents and
Settings\pmahoney\My
Documents\X-Act\Projects\xact\OpenTravelAlliance\src\jibx\OTA_CruiseSailAvailRQ.xml'
- please enter a bug report for this error in Jira if the problem is not
listed as fixed on the online status page ***
[bind] java.lang.IllegalStateException: Stack size mismatch on branch
[bind] in method
uk.co.xact.ota.JiBX_MungeAdapter.JiBX_OTA_CruiseSailAvailRQ_unmarshal
[bind] generated by [EMAIL PROTECTED]
[bind] from stack:
[bind] to stack:
[bind] 0: java.util.List
[bind] at
org.jibx.binding.classes.BranchWrapper.setTarget(BranchWrapper.java:183)
[bind] at
org.jibx.binding.classes.BranchWrapper.setTarget(BranchWrapper.java:200)
[bind] at
org.jibx.binding.def.NestedCollection.genContentUnmarshal(NestedCollection.java:172)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:810)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:954)
[bind] at
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:271)
[bind] at
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:190)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:810)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:954)
[bind] at
org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
[bind] at
org.jibx.binding.def.BaseMappingWrapper.genContentUnmarshal(BaseMappingWrapper.java:73)
[bind] at
org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
[bind] at
org.jibx.binding.def.MappingReference.genContentUnmarshal(MappingReference.java:225)
[bind] at
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:190)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:810)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:954)
[bind] at
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:271)
[bind] at
org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:314)
[bind] at
org.jibx.binding.def.NestedCollection.genContentUnmarshal(NestedCollection.java:167)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:810)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:954)
[bind] at
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:271)
[bind] at
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:190)
[bind] at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:810)
[bind] at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:954)
[bind] at
org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:314)
[bind] at
org.jibx.binding.def.MappingDefinition.generateUnmarshalImplementation(MappingDefinition.java:644)
[bind] at
org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition.java:855)
[bind] at
org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.java:669)
[bind] at
org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.java:792)
[bind] at org.jibx.binding.Compile.compile(Compile.java:305)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[bind] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[bind] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[bind] at java.lang.reflect.Method.invoke(Method.java:597)
[bind] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[bind] at org.apache.tools.ant.Task.perform(Task.java:348)
[bind] at org.apache.tools.ant.Target.execute(Target.java:357)
[bind] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[bind] at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[bind] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[bind] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
--
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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs