tcr / mug

A self-hosted JavaScript compiler for the JVM. Written in CoffeeScript.
150 stars 5 forks source link

NPE: Cannot compile coffee-script.js #23

Open dstepanov opened 13 years ago

dstepanov commented 13 years ago

Parsing "coffee-script.js"...

Contexts... Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException at clojure.lang.LazySeq.sval(LazySeq.java:47) at clojure.lang.LazySeq.seq(LazySeq.java:56) at clojure.lang.ChunkedCons.chunkedNext(ChunkedCons.java:59) at clojure.core$chunk_next.invoke(core.clj:582) at clojure.core$r.invoke(core.clj:798) at clojure.core$into.invoke(core.clj:2614) at mug.asm.contexts$compile_context_classes.invoke(contexts.clj:238) at mug.compiler$compile_js.invoke(compiler.clj:35) at mug.compiler$_main.doInvoke(compiler.clj:102) at clojure.lang.RestFn.applyTo(RestFn.java:138) at mug.Compiler.main(Unknown Source) Caused by: java.lang.NullPointerException at org.objectweb.asm.MethodWriter.visitJumpInsn(Unknown Source) at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at mug.asm.code$fn635.invoke(code.clj:1019) at clojure.lang.MultiFn.invoke(MultiFn.java:175) at mug.asm.code$fn548.invoke(code.clj:929) at clojure.lang.MultiFn.invoke(MultiFn.java:175) at mug.asm.code$fn514.invoke(code.clj:829) at clojure.lang.MultiFn.invoke(MultiFn.java:175) at mug.asm.code$fn540.invoke(code.clj:884) at clojure.lang.MultiFn.invoke(MultiFn.java:175) at mug.asm.contexts$asm_compile_closure_method.invoke(contexts.clj:148) at clojure.lang.MultiFn.invoke(MultiFn.java:171) at mug.asm.contexts$asm_compile_closure_class.invoke(contexts.clj:225) at clojure.lang.MultiFn.invoke(MultiFn.java:175) at mug.asm.contexts$compile_context_classes$fn__766.invoke(contexts.clj:237) at clojure.core$map_indexed$mapi5568$fn5569.invoke(core.clj:5633) at clojure.lang.LazySeq.sval(LazySeq.java:42) ... 10 more