javax.script.ScriptException: Error: Cannot find module '../package.json' in <Unknown source> at line number 1

Coderanch | S Lowell | 2 years ago
  1. 0

    Java ScriptEngine cannot find module referenced by Javascript file

    Stack Overflow | 2 years ago | pacoverflow
    javax.script.ScriptException: Error: Cannot find module '../package.json' in <Unknown source> at line number 1
  2. 0

    Java ScriptEngine cannot find module referenced by Javascript file

    Coderanch | 2 years ago | S Lowell
    javax.script.ScriptException: Error: Cannot find module '../package.json' in <Unknown source> at line number 1
  3. 0

    utils.getPlayerPos not working

    GitHub | 2 years ago | guerillagorilla
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.JavaScriptException: JavaException: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Can't use instanceof on a non-object. (<Unknown source>#222) in <Unknown source> at line number 222 (<Unknown source>#623) in <Unknown source> at line number 623
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. sun.org.mozilla.javascript.internal.JavaScriptException

      Error: Cannot find module '../package.json' (<Unknown source>#1)

      at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop()
    2. sun.org.mozilla
      ContextFactory.doTopCall
      1. sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:1066)[na:1.7.0_51]
      2. sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:849)[na:1.7.0_51]
      3. sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:162)[na:1.7.0_51]
      4. sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(ContextFactory.java:430)[na:1.7.0_51]
      4 frames
    3. com.sun.script
      RhinoScriptEngine$1.doTopCall
      1. com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(RhinoScriptEngine.java:116)[na:1.7.0_51]
      2. com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(RhinoScriptEngine.java:109)[na:1.7.0_51]
      2 frames
    4. sun.org.mozilla
      Context.evaluateReader
      1. sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(ScriptRuntime.java:3160)[na:1.7.0_51]
      2. sun.org.mozilla.javascript.internal.InterpretedFunction.exec(InterpretedFunction.java:173)[na:1.7.0_51]
      3. sun.org.mozilla.javascript.internal.Context.evaluateReader(Context.java:1169)[na:1.7.0_51]
      3 frames
    5. com.sun.script
      RhinoScriptEngine.eval
      1. com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:214)[na:1.7.0_51]
      1 frame