[x3d-public] puzzling error. ProtoInstance setName() not taking effect??? in X3DJSAIL.

yottzumm at gmail.com yottzumm at gmail.com
Tue Apr 18 09:54:10 PDT 2017


I got the following error in running my code.  Does ProtoInstanceObject require a name in the constructor call?  You may want to say it’s required in the constructor call. IDK.

John


Java code Attached.

Exception in thread "main" org.web3d.x3d.sai.InvalidFieldValueException: ERROR_VALUE_NOT_FOUND, ProtoInstance name field is required but no value found.
        at org.web3d.x3d.jsail.Core.ProtoInstanceObject.validate(ProtoInstanceObject.java:1002)
        at org.web3d.x3d.jsail.Core.fieldValueObject.validate(fieldValueObject.java:880)
        at org.web3d.x3d.jsail.Core.ProtoInstanceObject.addFieldValue(ProtoInstanceObject.java:1081)
        at arc.initialize(arc.java:356)
        at arc.main(arc.java:79)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170418/23df2894/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arc.java
Type: application/octet-stream
Size: 13730 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170418/23df2894/attachment-0001.obj>


More information about the x3d-public mailing list