[x3d-public] Rereporting X3dToNodeJS.xslt possible divergent error

John Carlson yottzumm at gmail.com
Sun Jun 14 22:03:14 PDT 2020


Tis a puzzle.  Perhaps missing material?

$ node examples/HelloWorldProgramOutput.Node.js
C:\x3d-code\www.web3d.org
\x3d\stylesheets\java\node\examples\HelloWorldProgramOutput.Node.js:399
        .addShaders((new autoclass.ProtoInstance("TestShader3",
"ShaderProto")).
setDEF("TestShader3").setName("ShaderProto"))
        ^

TypeError: Cannot read property 'addShaders' of null
    at HelloWorldProgramOutput_Node.initialize (C:\x3d-code\www.web3d.org
\x3d\stylesheets\java\node\examples\HelloWorldProgramOutput.Node.js:399:9)
    at new HelloWorldProgramOutput_Node (C:\x3d-code\www.web3d.org
\x3d\stylesheets\java\node\examples\HelloWorldProgramOutput.Node.js:123:10)
    at Object.<anonymous> (C:\x3d-code\www.web3d.org
\x3d\stylesheets\java\node\e
xamples\HelloWorldProgramOutput.Node.js:470:1)
?[90m    at Module._compile (internal/modules/cjs/loader.js:1176:30)?[39m
?[90m    at Object.Module._extensions..js
(internal/modules/cjs/loader.js:1196:1
0)?[39m
?[90m    at Module.load (internal/modules/cjs/loader.js:1040:32)?[39m
?[90m    at Function.Module._load
(internal/modules/cjs/loader.js:929:14)?[39m
?[90m    at Function.executeUserEntryPoint [as runMain]
(internal/modules/run_ma
in.js:71:12)?[39m
?[90m    at internal/main/run_main_module.js:17:47?[39m

coderextreme at DESKTOP-DOPK2VD MINGW64 /c/x3d-code/
www.web3d.org/x3d/stylesheets/java/node
$ node.exe !$
node.exe examples/HelloWorldProgramOutput.Node.js
WARNING_MESSAGE: ProtoInstance name='ShaderProto' DEF='TestShader3' USE=''
is missing containerField relationship to parent node, assuming
containerField='shaders' from initial node in corresponding ProtoDeclare.
Need to fix ProtoInstance definition in model source.
HelloWorldProgramOutput_Node execution self-validation test results:
WARNING_MESSAGE: ProtoInstance name='ShaderProto' DEF='TestShader3' USE=''
is missing containerField relationship to parent node, assuming
containerField='shaders' from initial node in corresponding ProtoDeclare.
Need to fix ProtoInstance definition in model source.


coderextreme at DESKTOP-DOPK2VD MINGW64 /c/x3d-code/
www.web3d.org/x3d/stylesheets/java/node
$ node --version
v14.2.0

coderextreme at DESKTOP-DOPK2VD MINGW64 /c/x3d-code/
www.web3d.org/x3d/stylesheets/java/node
$ node.exe --version
v14.2.0

coderextreme at DESKTOP-DOPK2VD MINGW64 /c/x3d-code/
www.web3d.org/x3d/stylesheets/java/node
$ type node.exe
node.exe is hashed (/c/Program Files/nodejs/node.exe)

coderextreme at DESKTOP-DOPK2VD MINGW64 /c/x3d-code/
www.web3d.org/x3d/stylesheets/java/node
$ type node
node is aliased to `winpty node.exe'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200615/21b4f943/attachment.html>


More information about the x3d-public mailing list