Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException from adzerk.boot-cljs.impl/handle-ex #193

Open
au-phiware opened this issue Jul 10, 2018 · 0 comments
Open

NullPointerException from adzerk.boot-cljs.impl/handle-ex #193

au-phiware opened this issue Jul 10, 2018 · 0 comments

Comments

@au-phiware
Copy link

I encountered a NullPointerException today:

                                       java.lang.Thread.run                  Thread.java:  748
         java.util.concurrent.ThreadPoolExecutor$Worker.run      ThreadPoolExecutor.java:  624
          java.util.concurrent.ThreadPoolExecutor.runWorker      ThreadPoolExecutor.java: 1149
                        java.util.concurrent.FutureTask.run              FutureTask.java:  266
                                                        ...                                   
                        clojure.core/binding-conveyor-fn/fn                     core.clj: 2022
                              adzerk.boot-cljs/compile-1/fn                boot_cljs.clj:  160
                                   adzerk.boot-cljs/compile                boot_cljs.clj:   72
                                          boot.pod/call-in*                      pod.clj:  413
                                                        ...                                   
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  102
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  109
                                                        ...                                   
                                          boot.pod/call-in*                      pod.clj:  410
                                      boot.pod/eval-fn-call                      pod.clj:  359
                                         clojure.core/apply                     core.clj:  657
                                                        ...                                   
                         adzerk.boot-cljs.impl/compile-cljs                     impl.clj:  163
                            adzerk.boot-cljs.impl/handle-ex                     impl.clj:  107
                 adzerk.boot-cljs.impl/escape-format-string                     impl.clj:   64
                                     clojure.string/replace                   string.clj:  101
java.lang.NullPointerException: 
    clojure.lang.ExceptionInfo: 
    file: "/tmp/boot.user5150054472668965626.clj"
    line: 49

I figure that ensure-ends-in-newline should always return a string even if it is "\n"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant