Skip to content
Chouser edited this page Jun 24, 2011 · 3 revisions

Original:

"Error evaluating:" (cljs.core.prn (pr-str 5)) :as "cljs.core.fn_of_(cljs.core.prn)(cljs.core.fn_of_(cljs.core.pr_str)(5));\n"
javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: sun.org.mozilla.javascript.internal.Undefined@397577f9 is not a function, it is sun.org.mozilla.javascript.internal.Undefined. (goog/base.js#2) in goog/base.js at line number 2
        at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
        at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
        at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
        at cljs.compiler$eval1.invoke(compiler.clj:754)
        at cljs.compiler$repl.doInvoke(compiler.clj:848)
        at clojure.lang.RestFn.invoke(RestFn.java:410)
        at user$eval7099.invoke(NO_SOURCE_FILE:10)
        at clojure.lang.Compiler.eval(Compiler.java:6406)
        at clojure.lang.Compiler.eval(Compiler.java:6372)
        at clojure.core$eval.invoke(core.clj:2745)
        at clojure.main$repl$read_eval_print__6018.invoke(main.clj:244)
        at clojure.main$repl$fn__6023.invoke(main.clj:265)
        at clojure.main$repl.doInvoke(main.clj:265)
        at clojure.lang.RestFn.invoke(RestFn.java:421)
        at clojure.main$repl_opt.invoke(main.clj:331)
        at clojure.main$main.doInvoke(main.clj:427)
        at clojure.lang.RestFn.invoke(RestFn.java:397)
        at clojure.lang.Var.invoke(Var.java:397)
        at clojure.lang.AFn.applyToHelper(AFn.java:159)
        at clojure.lang.Var.applyTo(Var.java:518)
        at clojure.main.main(main.java:37)

Improved:

"Error evaluating:" (cljs.core.prn (pr-str 5)) :as "cljs.core.fn_of_(cljs.core.prn)(cljs.core.fn_of_(cljs.core.pr_str)(5));\n"
sun.org.mozilla.javascript.internal.EcmaError: TypeError: sun.org.mozilla.javascript.internal.Undefined@397577f9 is not a function, it is sun.org.mozilla.javascript.internal.Undefined. (cljs/core.cljs#1688)
        at sun.org.mozilla.javascript.internal.ScriptRuntime.constructError(ScriptRuntime.java:3224)
        at sun.org.mozilla.javascript.internal.ScriptRuntime.constructError(ScriptRuntime.java:3214)
        at sun.org.mozilla.javascript.internal.ScriptRuntime.typeError(ScriptRuntime.java:3230)
        at sun.org.mozilla.javascript.internal.ScriptRuntime.typeError2(ScriptRuntime.java:3249)
        at sun.org.mozilla.javascript.internal.ScriptRuntime.notFunctionError(ScriptRuntime.java:3304)
        at sun.org.mozilla.javascript.internal.ScriptRuntime.notFunctionError(ScriptRuntime.java:3292)
        at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:3104)
        at script.pr_str_with_opts(cljs/core.cljs:1688)
        at script(<cljs repl>)
        [...snip...]
Clone this wiki locally