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

NullPointer when starting up rebel-readline-cljs #188

Open
benedekfazekas opened this issue Apr 8, 2019 · 0 comments
Open

NullPointer when starting up rebel-readline-cljs #188

benedekfazekas opened this issue Apr 8, 2019 · 0 comments

Comments

@benedekfazekas
Copy link

When I start up rebel-readline-cljs via leiningen from the checked out project -- as advised here https://github.com/bhauman/rebel-readline/tree/master/rebel-readline-cljs#clone-this-repo -- I get a nullpointer although the REPL starts up and seems the be functional.

Stack trace

java.lang.NullPointerException
	at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
	at java.util.regex.Matcher.reset(Matcher.java:309)
	at java.util.regex.Matcher.<init>(Matcher.java:229)
	at java.util.regex.Pattern.matcher(Pattern.java:1093)
	at clojure.core$re_matcher.invokeStatic(core.clj:4674)
	at clojure.core$re_matches.invokeStatic(core.clj:4704)
	at clojure.core$re_matches.invoke(core.clj:4704)
	at cljs.util$compiled_by_version.invokeStatic(util.cljc:42)
	at cljs.util$compiled_by_version.invoke(util.cljc:39)
	at cljs.closure$compile_from_jar.invokeStatic(closure.clj:586)
	at cljs.closure$compile_from_jar.invoke(closure.clj:579)
	at cljs.closure$eval6300$fn__6301.invoke(closure.clj:619)
	at cljs.closure$eval6230$fn__6231$G__6219__6238.invoke(closure.clj:493)
	at cljs.closure$get_compiled_cljs.invokeStatic(closure.clj:705)
	at cljs.closure$get_compiled_cljs.invoke(closure.clj:700)
	at cljs.closure$cljs_dependencies.invokeStatic(closure.clj:772)
	at cljs.closure$cljs_dependencies.invoke(closure.clj:752)
	at cljs.closure$add_dependencies.invokeStatic(closure.clj:831)
	at cljs.closure$add_dependencies.doInvoke(closure.clj:824)
	at clojure.lang.RestFn.invoke(RestFn.java:423)
	at cljs.repl$load_namespace$fn__7387.invoke(repl.cljc:192)
	at cljs.repl$load_namespace.invokeStatic(repl.cljc:191)
	at cljs.repl$load_namespace.invoke(repl.cljc:179)
	at cljs.repl$load_dependencies.invokeStatic(repl.cljc:229)
	at cljs.repl$load_dependencies.invoke(repl.cljc:225)
	at cljs.repl$evaluate_form.invokeStatic(repl.cljc:512)
	at cljs.repl$evaluate_form.invoke(repl.cljc:452)
	at cljs.repl$repl_STAR_$fn__7613.invoke(repl.cljc:857)
	at cljs.repl$repl_STAR_$fn__7623$fn__7624.invoke(repl.cljc:896)
	at cljs.repl$repl_STAR_$fn__7623.invoke(repl.cljc:891)
	at cljs.compiler$with_core_cljs.invokeStatic(compiler.cljc:1271)
	at cljs.compiler$with_core_cljs.invoke(compiler.cljc:1260)
	at cljs.repl$repl_STAR_.invokeStatic(repl.cljc:888)
	at cljs.repl$repl_STAR_.invoke(repl.cljc:760)
	at rebel_readline.cljs.repl$eval9654$repl_STAR___9655.invoke(repl.clj:77)
	at rebel_readline.cljs.repl$repl.invokeStatic(repl.clj:86)
	at rebel_readline.cljs.repl$repl.doInvoke(repl.clj:85)
	at clojure.lang.RestFn.invoke(RestFn.java:410)
	at rebel_readline.cljs.main$_main.invokeStatic(main.clj:10)
	at rebel_readline.cljs.main$_main.doInvoke(main.clj:8)
	at clojure.lang.RestFn.invoke(RestFn.java:397)
	at clojure.lang.Var.invoke(Var.java:375)
	at user$eval15.invokeStatic(form-init929021329891832749.clj:1)
	at user$eval15.invoke(form-init929021329891832749.clj:1)
	at clojure.lang.Compiler.eval(Compiler.java:6927)
	at clojure.lang.Compiler.eval(Compiler.java:6917)
	at clojure.lang.Compiler.load(Compiler.java:7379)
	at clojure.lang.Compiler.loadFile(Compiler.java:7317)
	at clojure.main$load_script.invokeStatic(main.clj:275)
	at clojure.main$init_opt.invokeStatic(main.clj:277)
	at clojure.main$init_opt.invoke(main.clj:277)
	at clojure.main$initialize.invokeStatic(main.clj:308)
	at clojure.main$null_opt.invokeStatic(main.clj:342)
	at clojure.main$null_opt.invoke(main.clj:339)
	at clojure.main$main.invokeStatic(main.clj:421)
	at clojure.main$main.doInvoke(main.clj:384)
	at clojure.lang.RestFn.invoke(RestFn.java:421)
	at clojure.lang.Var.invoke(Var.java:383)
	at clojure.lang.AFn.applyToHelper(AFn.java:156)
	at clojure.lang.Var.applyTo(Var.java:700)
	at clojure.main.main(main.java:37)

Env OSX, Leiningen 2.9.1 getting the same with both java 11 and java8. With the former I had to mitigate some missing jaxb dependencies -- this is known issue with java11.

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