[x3d-public] X3DJSAIL, null pointer exception, not sure if setting material containerField did this or not. I think this Java file has same error.

John Carlson yottzumm at gmail.com
Tue Jan 2 13:18:27 PST 2018


Exception in thread "main" java.lang.NullPointerException
        at org.web3d.x3d.jsail.Core.ProtoInstanceObject.getNodeType(ProtoInstanceObject.java:771)
        at org.web3d.x3d.jsail.Core.ProtoInstanceObject.validate(ProtoInstanceObject.java:1140)
        at org.web3d.x3d.jsail.Core.fieldValueObject.validate(fieldValueObject.java:971)
        at org.web3d.x3d.jsail.Core.ProtoInstanceObject.addFieldValue(ProtoInstanceObject.java:1222)
        at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$927$268435454A$CameraExamples_sail$cu1$restOf.:program$:split(../nashorn/net/coderextreme/data/CameraExamples.sail.js:333)
        at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1$CameraExamples_sail.:program(../nashorn/net/coderextreme/data/CameraExamples.sail.js)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:517)
        at jdk.scripting.nashorn/jdk.nashorn.tools.Shell.apply(Shell.java:519)
        at jdk.scripting.nashorn/jdk.nashorn.tools.Shell.runScripts(Shell.java:448)
        at jdk.scripting.nashorn/jdk.nashorn.tools.Shell.run(Shell.java:186)
        at jdk.scripting.nashorn.shell/jdk.nashorn.tools.jjs.Main.main(Main.java:104)
        at jdk.scripting.nashorn.shell/jdk.nashorn.tools.jjs.Main.main(Main.java:80)

Sent from Mail for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180102/791d218d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CameraExamples.java
Type: application/octet-stream
Size: 73265 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180102/791d218d/attachment-0001.obj>


More information about the x3d-public mailing list