• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Inconsistent stack height error with JiBX

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic