[x3d-public] DISWebGateway

John Carlson yottzumm at gmail.com
Sun Feb 21 19:53:57 PST 2021


I've been trying to get open-dis' DISWebGateway running, and got the 
following script issue. I think it's because OpenJDK does not use a 
scripting engine like Nashorn.


I will likely move to GraalVM if there are no other solutions.


run:
      [java] Loaded configuration properties
      [java] class edu.nps.moves.gateway.Configuration
      [java] SLF4J: Failed to load class 
"org.slf4j.impl.StaticLoggerBinder".
      [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
      [java] SLF4J: See 
http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      [java] Started DIS listening on UDP port 1194
      [java] Configured to not use redis server
      [java] Starting websocket server on TCP port 8282
      [java] Starting https server on TCP port 443
      [java] WebSocket Opened
      [java] java.lang.NullPointerException: Cannot invoke 
"javax.script.ScriptEngine.eval(String)" because "engine" is null
      [java] WebSocket Closed. Code:1011 Reason:WebSocketException
      [java] WebSocket Opened
      [java] java.lang.NullPointerException: Cannot invoke 
"javax.script.ScriptEngine.eval(String)" because "engine" is null
      [java] WebSocket Closed. Code:1011 Reason:WebSocketException




More information about the x3d-public mailing list