java.lang.IllegalStateException: Internal error: Expected MyClass on stack,
found MyClass[]
-------------------------------------------------------------------------------------------
Key: JIBX-98
URL: http://jira.codehaus.org/browse/JIBX-98
Project: JiBX
Type: Bug
Components: core
Reporter: Jonathan Taylor
Fix For: JiBX 1.0
Occurs during Compile step on a 16kb, somewhat deeply-nested binding.xml.
Also tested current CVS version with same result.
full stack:
0: MyClass[]
1: MyClass[]
2: org.jibx.runtime.impl.UnmarshallingContext
at
org.jibx.binding.classes.MethodBuilder.verifyCompatible(MethodBuilder.java:393)
at
org.jibx.binding.classes.MethodBuilder.verifyCallStack(MethodBuilder.java:510)
at
org.jibx.binding.classes.MethodBuilder.appendCallVirtual(MethodBuilder.java:867)
at
org.jibx.binding.def.ObjectBinding.genUnmarshalCall(ObjectBinding.java:568)
at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:823)
at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:932)
at
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:200)
at
org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
at
org.jibx.binding.def.NestedCollection.genContentUnmarshal(NestedCollection.java:143)
at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:787)
at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:932)
at
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:245)
at
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:156)
at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:787)
at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:932)
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:156)
at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:787)
at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:932)
at
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:200)
at
org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:267)
at
org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
at
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:156)
at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:787)
at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:932)
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.ElementWrapper.genContentUnmarshal(ElementWrapper.java:267)
at
org.jibx.binding.def.PassThroughComponent.genContentUnmarshal(PassThroughComponent.java:111)
at
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:156)
at
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:787)
at
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:932)
at
org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:267)
at
org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition.java:592)
at
org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.java:602)
at
org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.java:611)
at org.jibx.binding.Compile.compile(Compile.java:305)
at org.jibx.binding.Compile.main(Compile.java:385)
--
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: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs