hi,
since i added the test-methods to the following binding, i get the
VerifyError described below when instantiating Objects of class
"Location". I played around a little bit and noticed that the appearance
of any of first three test-methods causes the error while the last
test-method ("hasResourceRef") does not cause an error.
here's the mapping:
<mapping name="location" class="de.fhrg.jobhandler.Location">
<structure name="directory" usage="optional"
test-method="hasDirectory">
<value style="attribute" name="tmp" usage="optional"
default="false" field="tmpDirectory"/>
<value style="text" field="directory"/>
</structure>
<structure name="filename" usage="optional" test-method="hasFilename">
<value style="attribute" name="tmp" usage="optional"
default="false" field="tmpFilename"/>
<value style="text" field="filename"/>
</structure>
<structure name="url" usage="optional" test-method="hasUrl">
<value style="attribute" name="tmp" usage="optional"
default="false" field="tmpUrl"/>
<value style="text" field="url"/>
</structure>
<structure usage="optional" name="resourceRef"
test-method="hasResourceRef">
<value style="attribute" name="id" field="resourceRefId"/>
<value style="attribute" name="type" field="resourceRefType"/>
</structure>
</mapping>
here's the error i get (GridResourceFactory line 137 instantiates a
"Location" object):
java.lang.VerifyError: (class: de/fhrg/jobhandler/Location, method:
JiBX_GridJobBinding_marshal_1_0 signature:
(Lorg/jibx/runtime/impl/MarshallingContext;)V) Inconsistent stack height
3 != 1
at
de.fhrg.jobhandler.GridResourceFactory.createGridResource(GridResourceFactory.java:137)
at
de.fhrg.jobhandler.GJobDLDocument.scanResource(GJobDLDocument.java:74)
at
de.fhrg.jobhandler.GJobDLDocument.<init>(GJobDLDocument.java:65)
at
de.fhrg.jobhandler.GJobDLGridJob.<init>(GJobDLGridJob.java:110)
at
de.fhrg.jobhandler.JobHandler.createGridJob(JobHandler.java:266)
at
de.fhrg.jobhandler.desktop.GridJobCreator.run(GridJobCreator.java:85)
seems like a bug to me, but maybe i am doing something wrong? is anybody
familiar with this problem?
regards, tilman
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users