Skip to content

Instantly share code, notes, and snippets.

@m0wfo
Created May 5, 2012 18:32
Show Gist options
  • Save m0wfo/2604618 to your computer and use it in GitHub Desktop.
Save m0wfo/2604618 to your computer and use it in GitHub Desktop.
Exception in thread "main" java.lang.ClassCastException: org.mozilla.javascript.NativeClassyObject cannot be cast to org.mozilla.javascript.ScriptableObject
at org.mozilla.javascript.commonjs.module.Require.executeModuleScript(Require.java:314)
at org.mozilla.javascript.commonjs.module.Require.getExportedModuleInterface(Require.java:283)
at org.mozilla.javascript.commonjs.module.Require.call(Require.java:213)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:98)
at org.mozilla.javascript.gen._stdin__1.call_script(Unknown Source)
at org.mozilla.javascript.gen._stdin__1.call(Unknown Source)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:422)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.mozilla.javascript.gen._stdin__1.call(Unknown Source)
at org.mozilla.javascript.gen._stdin__1.exec(Unknown Source)
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:539)
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:215)
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:139)
at org.mozilla.javascript.Context.call(Context.java:525)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:532)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:197)
at org.mozilla.javascript.tools.shell.Main.main(Main.java:175)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment