{"action":"created","issue":{"url":"https://api.github.com/repos/nrepl/piggieback/issues/94","repository_url":"https://api.github.com/repos/nrepl/piggieback","labels_url":"https://api.github.com/repos/nrepl/piggieback/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/nrepl/piggieback/issues/94/comments","events_url":"https://api.github.com/repos/nrepl/piggieback/issues/94/events","html_url":"https://github.com/nrepl/piggieback/issues/94","id":353421984,"node_id":"MDU6SXNzdWUzNTM0MjE5ODQ=","number":94,"title":"`lein repl` in the piggieback project fails do to a mix of nrepl/nrepl and clojure.tools/nrepl","user":{"login":"bhauman","id":2624,"node_id":"MDQ6VXNlcjI2MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2624?v=4","gravatar_id":"","url":"https://api.github.com/users/bhauman","html_url":"https://github.com/bhauman","followers_url":"https://api.github.com/users/bhauman/followers","following_url":"https://api.github.com/users/bhauman/following{/other_user}","gists_url":"https://api.github.com/users/bhauman/gists{/gist_id}","starred_url":"https://api.github.com/users/bhauman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhauman/subscriptions","organizations_url":"https://api.github.com/users/bhauman/orgs","repos_url":"https://api.github.com/users/bhauman/repos","events_url":"https://api.github.com/users/bhauman/events{/privacy}","received_events_url":"https://api.github.com/users/bhauman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-23T14:58:55Z","updated_at":"2018-08-23T17:49:29Z","closed_at":null,"author_association":"COLLABORATOR","body":"I'm reporting this just in case its indicative of a larger issue. And I'd like `lein repl` to work so that I can test the various cljs repls that I've setup in `user.clj`\r\nTo reproduce:\r\n\r\nin the root of this project: `lein repl`\r\n\r\n```clojure\r\nSEVERE: Unhandled REPL handler exception processing message {:id 11002811-a14c-42e4-b9bf-abb8a74eab27, :op clone}\r\njava.lang.NullPointerException\r\n\tat clojure.core$deref_future.invokeStatic(core.clj:2208)\r\n\tat clojure.core$deref.invokeStatic(core.clj:2228)\r\n\tat clojure.core$deref.invoke(core.clj:2214)\r\n\tat cider.piggieback$wrap_cljs_repl$fn__8734.invoke(piggieback.clj:285)\r\n        ;;  vvvvv ------ this is the important bit \r\n\tat nrepl.middleware$wrap_conj_descriptor$fn__8393.invoke(middleware.clj:15)\r\n\tat clojure.tools.nrepl.server$handle_STAR_.invokeStatic(server.clj:19)\r\n\tat clojure.tools.nrepl.server$handle_STAR_.invoke(server.clj:16)\r\n\tat clojure.tools.nrepl.server$handle$fn__9910.invoke(server.clj:28)\r\n\tat clojure.core$binding_conveyor_fn$fn__4676.invoke(core.clj:1938)\r\n\tat clojure.lang.AFn.call(AFn.java:18)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n```\r\n\r\nAs you can see the nrepl/nrepl middleware is in there and its messing stuffs up. "},"comment":{"url":"https://api.github.com/repos/nrepl/piggieback/issues/comments/415509206","html_url":"https://github.com/nrepl/piggieback/issues/94#issuecomment-415509206","issue_url":"https://api.github.com/repos/nrepl/piggieback/issues/94","id":415509206,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTUwOTIwNg==","user":{"login":"bbatsov","id":103882,"node_id":"MDQ6VXNlcjEwMzg4Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/103882?v=4","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T17:49:29Z","updated_at":"2018-08-23T17:49:29Z","author_association":"CONTRIBUTOR","body":"I can't imagine how this can happen - see https://github.com/nrepl/piggieback/blob/master/src/cider/piggieback.clj#L19\r\n\r\nI've tested this myself and it works fine with `tools.nrepl`. The only way for this to fail is at the time `piggieback`'s loaded `tools.nrepl` is not yet loaded itself. Do you have some init code that might be causing things to load out of order? "}}
{"actor":{"display_login":"bbatsov"}}