I want to take a list of doubles and put them into a
double array. This sounds simple, but I'm running
into this error: java.lang.VerifyError: Attempt to
split long or double on the stack, and I'm not sure
what I'm doing wrong...
-- Sample XML File --
<MyObject>
<FirstTag>
<Array1>1.1</Array1>
<Array1>1.2</Array1>
<Array1>1.3</Array1>
<Array2>2.1</Array2>
<Array2>2.2</Array2>
<Array2>2.3</Array2>
</FirstTag>
</MyObject>
-- The Mapping I used --
<mapping name="MyObject" class="MyClass">
<structure name="FirstTag">
<collection field="myArray1">
<value
name="Array1"/>
</collection>
<collection field="myArray2">
<value
name="Array2"/>
</collection>
</structure>
</mapping>
-- The object --
public class MyClass {
private double[] myArray1;
private double[] myArray2;
public MyClass() {
myArray1 = new double[20];
myArray2 = new double[20];
}
}
Here's the error:
java.lang.VerifyError: (class: JiBX_MungeAdapter,
method: JiBX_MyBinding_unmarshal_1_2 signature:
([DLorg/jibx/runtime/impl/UnmarshallingContext;)[D)
Attempt to split long or double on the stack
What did I miss?
Thanks for any help.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users