Uploaded image for project: 'tools.reader'
  1. TRDR-55

Version 1.3.0 doesn't seem to play nicely with tools.namespace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Declined
    • Labels:
      None

      Description

      I recently bumped the tools.reader dep in `cider-nrepl` and this caused the following problem on `cider-jack-in`:

      Oct 15, 2018 5:50:23 PM clojure.tools.logging$eval579$fn__582 invoke
      SEVERE: Unhandled REPL handler exception processing message {:op init-debugger, :print-level 10, :print-length 10, :session cc619163-753b-46b1-9334-cf6e9459aac4, :id 8}
      java.lang.ClassNotFoundException: clojure.tools.reader.reader_types.SourceLoggingPushbackReader, compiling:(cider/inlined_deps/toolsreader/v1v3v0/clojure/tools/reader.clj:1:1)
      at clojure.lang.Compiler.load(Compiler.java:7526)
      at clojure.lang.RT.loadResourceScript(RT.java:379)
      at clojure.lang.RT.loadResourceScript(RT.java:370)
      at clojure.lang.RT.load(RT.java:460)
      at clojure.lang.RT.load(RT.java:426)
      at clojure.core$load$fn__6548.invoke(core.clj:6046)
      at clojure.core$load.invokeStatic(core.clj:6045)
      at clojure.core$load.doInvoke(core.clj:6029)
      at clojure.lang.RestFn.invoke(RestFn.java:408)
      at clojure.core$load_one.invokeStatic(core.clj:5848)
      at clojure.core$load_one.invoke(core.clj:5843)
      at clojure.core$load_lib$fn__6493.invoke(core.clj:5888)
      at clojure.core$load_lib.invokeStatic(core.clj:5887)
      at clojure.core$load_lib.doInvoke(core.clj:5868)
      at clojure.lang.RestFn.applyTo(RestFn.java:142)
      at clojure.core$apply.invokeStatic(core.clj:659)
      at clojure.core$load_libs.invokeStatic(core.clj:5925)
      at clojure.core$load_libs.doInvoke(core.clj:5909)
      at clojure.lang.RestFn.applyTo(RestFn.java:137)
      at clojure.core$apply.invokeStatic(core.clj:659)
      at clojure.core$require.invokeStatic(core.clj:5947)
      at clojure.core$require.doInvoke(core.clj:5947)
      at clojure.lang.RestFn.invoke(RestFn.java:421)
      at cider.inlined_deps.toolsnamespace.v0v3v0_alpha4.clojure.tools.namespace.parse$eval2867$loading_6434auto___2868.invoke(parse.cljc:9)
      at cider.inlined_deps.toolsnamespace.v0v3v0_alpha4.clojure.tools.namespace.parse$eval2867.invokeStatic(parse.cljc:9)
      at cider.inlined_deps.toolsnamespace.v0v3v0_alpha4.clojure.tools.namespace.parse$eval2867.invoke(parse.cljc:9)

      ... skipping some lines ...
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.ClassNotFoundException: clojure.tools.reader.reader_types.SourceLoggingPushbackReader
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at clojure.lang.DynamicClassLoader.loadClass(DynamicClassLoader.java:77)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at clojure.lang.RT.classForName(RT.java:2204)
      at clojure.lang.RT.classForNameNonLoading(RT.java:2217)
      at cider.inlined_deps.toolsreader.v1v3v0.clojure.tools.reader$eval3532$loading_6434auto___3533.invoke(reader.clj:9)
      at cider.inlined_deps.toolsreader.v1v3v0.clojure.tools.reader$eval3532.invokeStatic(reader.clj:9)
      at cider.inlined_deps.toolsreader.v1v3v0.clojure.tools.reader$eval3532.invoke(reader.clj:9)
      at clojure.lang.Compiler.eval(Compiler.java:7062)
      at clojure.lang.Compiler.eval(Compiler.java:7051)
      at clojure.lang.Compiler.load(Compiler.java:7514)
      ... more

      Unfortunately tools.reader's changelog hasn't been updated in a while, so I'm not sure what recent change might have caused this.

        Attachments

          Activity

            People

            • Assignee:
              bronsa Nicola Mometto
              Reporter:
              bozhidar Bozhidar Batsov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: