emezeske/lein-cljsbuild — Issue #39: Exception with cljsbuild once in windows
Author: cocodrino
Created: 2012-02-22 15:41:36+00:00
State: open

Hi..I'm trying use clojurescript in win...actually I'm follow the tutorial from
http://djhworld.github.com/2012/02/12/getting-started-with-clojurescript-and-noir.html

this work in linux but not when I use windows....
I get this exception:

lein cljsbuild once
Downloading: cljsbuild/cljsbuild/0.0.13/cljsbuild-0.0.13.pom from repository central at http://repo1.maven.org/maven2
Unable to locate resource in repository
[INFO] Unable to find resource 'cljsbuild:cljsbuild:pom:0.0.13' in repository central (http://repo1.maven.org/maven2)
Downloading: cljsbuild/cljsbuild/0.0.13/cljsbuild-0.0.13.pom from repository clojars at http://clojars.org/repo/
Transferring 2K from clojars
Downloading: cljsbuild/cljsbuild/0.0.13/cljsbuild-0.0.13.jar from repository central at http://repo1.maven.org/maven2
Unable to locate resource in repository
[INFO] Unable to find resource 'cljsbuild:cljsbuild:jar:0.0.13' in repository central (http://repo1.maven.org/maven2)
Downloading: cljsbuild/cljsbuild/0.0.13/cljsbuild-0.0.13.jar from repository clojars at http://clojars.org/repo/
Transferring 4K from clojars
Compiling ClojureScript
Compiling resources/public/js/cljs.js from src-cljs...
WARNING: The form (. this toString) is no longer a property access. Maybe you meant (. this -toString) instead?
WARNING: The form (. this toString) is no longer a property access. Maybe you meant (. this -toString) instead?
WARNING: The form (. (js-keys hashobj) sort) is no longer a property access. Maybe you meant (. (js-keys hashobj) -sort) instead?
WARNING: The form (. this toString) is no longer a property access. Maybe you meant (. this -toString) instead?
WARNING: The form (. this toString) is no longer a property access. Maybe you meant (. this -toString) instead?
WARNING: The form (. (js-keys hashobj) sort) is no longer a property access. Maybe you meant (. (js-keys hashobj) -sort) instead?
Failed!
←[31mjava.lang.NullPointerException: ←[39m←[31m←[39m
←[34m Compiler.java:869 com.google.javascript.jscomp.Compiler.newTracer←[39m
←[34m Compiler.java:516 com.google.javascript.jscomp.Compiler.compile←[39m
←[34m (Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0←[39m
←[34m (Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke←[39m
←[34m (Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke←[39m
←[34m (Unknown Source) java.lang.reflect.Method.invoke←[39m
←[36m Reflector.java:92 clojure.lang.Reflector.invokeMatchingMethod←[39m
←[36m Reflector.java:30 clojure.lang.Reflector.invokeInstanceMethod←[39m
←[32m closure.clj:649 cljs.closure/optimize←[39m
←[36m RestFn.java:139 clojure.lang.RestFn.applyTo←[39m
←[35m core.clj:602 clojure.core/apply←[39m
←[32m closure.clj:840 cljs.closure/build←[39m
←[32m core.clj:71 cljsbuild.core/compile-cljs←[39m
←[32m core.clj:179 cljsbuild.core/run-compiler←[39m
←[33m NO_SOURCE_FILE:1 user/eval2057[fn]←[39m
←[32m core.clj:154 cljsbuild.core/in-threads[fn]←[39m
←[35m core.clj:1817 clojure.core/binding-conveyor-fn[fn]←[39m
←[36m AFn.java:18 clojure.lang.AFn.call←[39m
←[34m (Unknown Source) java.util.concurrent.FutureTask$Sync.innerRun←[39m
←[34m (Unknown Source) java.util.concurrent.FutureTask.run←[39m
←[34m (Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker←[39m
←[34m (Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run←[39m
←[34m (Unknown Source) java.lang.Thread.run←[39m

hope you can understand what this mean...thanks man...