[x3d-public] puzzling error. ProtoInstance setName() not taking effect??? inX3DJSAIL.
yottzumm at gmail.com
yottzumm at gmail.com
Tue Apr 18 10:25:28 PDT 2017
Should I even be able to compile Java with a missing ProtoInstance name?
Thoughts.
John
Sent from Mail for Windows 10
From: yottzumm at gmail.com
Sent: Tuesday, April 18, 2017 12:54 PM
To: Don Brutzman; Roy Walmsley; Job at alexkern.de; X3D Graphics public mailing list
Subject: puzzling error. ProtoInstance setName() not taking effect??? inX3DJSAIL.
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/4117d469/attachment.html>
More information about the x3d-public
mailing list