[x3d-public] null not allowed for setValue for SFNode field. Advise. X3D Java SAI

yottzumm at gmail.com yottzumm at gmail.com
Wed Jan 4 17:48:02 PST 2017


examples/Savage/Tools/Terrain/GeoLocation3
Exception in thread "main" org.web3d.x3d.sai.InvalidProtoException: field name='geoOrigin' with type='SFNode' cannot have any simple-type value (newValue='null').  Use setChildren() method instead.
        at org.web3d.x3d.java.Core.fieldObject.setValue(fieldObject.java:717)
        at examples.Savage.Tools.Terrain.GeoLocation3.main(GeoLocation3.java:131)
examples/Savage/Tools/Terrain/GeoTerrainGrid
Exception in thread "main" org.web3d.x3d.sai.InvalidProtoException: field name='geoOrigin' with type='SFNode' cannot have any simple-type value (newValue='null').  Use setChildren() method instead.
        at org.web3d.x3d.java.Core.fieldObject.setValue(fieldObject.java:717)
        at examples.Savage.Tools.Terrain.GeoTerrainGrid.main(GeoTerrainGrid.java:127)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170104/64a5b73a/attachment.html>


More information about the x3d-public mailing list