This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-06
Channels
- # announcements (5)
- # aws (28)
- # babashka (4)
- # beginners (163)
- # bristol-clojurians (2)
- # calva (4)
- # cider (18)
- # clj-kondo (30)
- # cljs-dev (28)
- # cljsrn (50)
- # clojure (96)
- # clojure-europe (25)
- # clojure-italy (6)
- # clojure-losangeles (1)
- # clojure-nl (4)
- # clojure-sweden (7)
- # clojure-uk (32)
- # clojurescript (39)
- # conjure (74)
- # cursive (12)
- # events (1)
- # fulcro (32)
- # helix (71)
- # jackdaw (2)
- # leiningen (10)
- # off-topic (14)
- # pathom (59)
- # rdf (7)
- # re-frame (6)
- # reitit (28)
- # ring (7)
- # shadow-cljs (207)
- # slack-help (2)
- # spacemacs (3)
- # specter (7)
- # sql (12)
- # tools-deps (14)
- # xtdb (32)
Interesting, unexcpected, but somewhat understandable:
user> (.URI. " ")
;; => #object[.URI 0x5c756f85 " "]ERROR: Unhandled REPL handler exception processing message {:op slurp, :url , :session 338ec46a-a3e8-40e6-be4d-4a49fe59a50f, :id 8942}
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:4856)
at clojure.core$re_find.invokeStatic(core.clj:4898)
at clojure.core$re_find.invoke(core.clj:4898)
at cider.nrepl.middleware.slurp$normalize_content_type.invokeStatic(slurp.clj:46)
at cider.nrepl.middleware.slurp$normalize_content_type.invoke(slurp.clj:41)
at cider.nrepl.middleware.slurp$slurp_url_to_content_PLUS_body.invokeStatic(slurp.clj:95)
at cider.nrepl.middleware.slurp$slurp_url_to_content_PLUS_body.invoke(slurp.clj:82)
at cider.nrepl.middleware.slurp$handle_slurp.invokeStatic(slurp.clj:116)
at cider.nrepl.middleware.slurp$handle_slurp.invoke(slurp.clj:108)
at clojure.lang.Var.invoke(Var.java:388)
at cider.nrepl$wrap_slurp$fn__94216.invoke(nrepl.clj:95)
at nrepl.middleware$wrap_conj_descriptor$fn__83937.invoke(middleware.clj:16)
at refactor_nrepl.middleware$wrap_refactor$fn__98849.invoke(middleware.clj:207)
@pmooser evaluate the function definition to remove the debugging brakepoints
Obvious when you know how, it has caught many people out 😁
@slipset do you know how to prevent that? Not sure if you are asking for help or pointing it out :)
@slipset @dpsutton I thought in recent releases that middleware was turned off or fixed to not NPE
there have been some fixes to not NPE and i think bozhidar has finally set it as not enabled by default