emezeske/lein-cljsbuild — Issue #20: NullPointerException running lein cljsbuild once
Author: fluent-toddm
Created: 2012-01-23 21:45:44+00:00
State: open

I receive the following exception when running 'lein cljsbuild once' against lein-cljsbuild 0.0.8. I get this exception when running against my own project, but also when running against the example-projects/simple project.

Exception in thread "main" java.lang.NullPointerException (NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:482)
at clojure.lang.Var.invoke(Var.java:381)
at clojure.lang.AFn.applyToHelper(AFn.java:178)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
Caused by: java.lang.NullPointerException
at leiningen.compile$prep.invoke(compile.clj:139)
at leiningen.compile$eval_in_project.doInvoke(compile.clj:159)
at clojure.lang.RestFn.invoke(RestFn.java:490)
at leiningen.cljsbuild$run_local_project.invoke(cljsbuild.clj:74)
at leiningen.cljsbuild$run_compiler.invoke(cljsbuild.clj:83)
at leiningen.cljsbuild$cljsbuild.invoke(cljsbuild.clj:136)
at clojure.lang.Var.invoke(Var.java:369)
at clojure.lang.AFn.applyToHelper(AFn.java:163)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$apply_task.invoke(core.clj:228)
at leiningen.core$_main.doInvoke(core.clj:294)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:297)
at user$eval42.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
... 11 more