[x3d-public] X3DJSAIL: Confusing error message.

yottzumm at gmail.com yottzumm at gmail.com
Sat May 6 12:47:19 PDT 2017


Here’s the message and code is attached.  Also I will provide XML file.  The Boolean in question was a “0” which I have fixed, but it was an SFBool, not an MFBool.  So a bit of misdirection.  The files may have changed out from under me, but you can reproduce by replacing false with 0 or “0”.

Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: illegal boolean value, must be 'true' or 'false' (case sensitive), new MFBoolObject([Ljava.lang.String;@17f052a3)
        at org.web3d.x3d.jsail.fields.MFBoolObject.setValueByString(MFBoolObject.java:119)
        at org.web3d.x3d.jsail.Core.fieldObject.setValue(fieldObject.java:1014)
        at force.initialize(force.java:190)
        at force.main(force.java:79)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170506/bc47f646/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: force.java
Type: application/octet-stream
Size: 15917 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170506/bc47f646/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: force.x3d
Type: application/octet-stream
Size: 8752 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170506/bc47f646/attachment-0003.obj>


More information about the x3d-public mailing list