This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Inconsistent stack height error with JiBX Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Inconsistent stack height error with JiBX" Watch "Inconsistent stack height error with JiBX" New topic
Author

Inconsistent stack height error with JiBX

wade wang
Greenhorn

Joined: Feb 12, 2004
Posts: 6
Hi JiBX expert,
I have a binding as below, somehow the line
<value style="attribute" name="rateCode" field="rateCode"/>
causes a runtime error as follows:
runJiBXUnmarshallingTest:
[java] java.lang.VerifyError: (class:AvailHOTResponsePropertyItemType, method: JiBX_binding_unmarshal_1_2 signature Lorg/jibx/runtime/impl/UnmarshallingContext V) Inconsistent stack height 2 != 1
Any helps would be greatly appreciated.
BR,
Wade
==================================================================
<binding>
<mapping name="availHOTResponse" class="AvailHOTResponse">
<structure name="header">
<value name="version" field="version"/>
</structure>
<structure name="body">
<structure name="property"
field="property"
type="AvailHOTResponsePropertyItemType" ordered="false">
<structure name="roomDetails">
<value style="attribute" name="rateCode" field="rateCode"/>
<structure name="rateDetails">
<value name="netRate" field="netRate" usage="optional"/>
</structure>
</structure>
</structure>
</structure>
</mapping>
</binding>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Inconsistent stack height error with JiBX
 
Similar Threads
JiBX for marshal/unMarshal Framework
jibx binding Error: Nonstatic field name not found in
JiBX Exception: Missing 'T' separator in dateTime
CDATA
JiBXException