[CLJS-2742] lein-doo fails with Clojurescript 1.10.238 (AOT version) Created: 22/Apr/18  Updated: 23/Apr/18  Resolved: 23/Apr/18

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: 1.10.238
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Joel Sánchez López Assignee: Unassigned
Resolution: Not Reproducible Votes: 0
Labels: None


 Description   

Running this command: `lein doo chrome-headless test once`
Results in:

```
Exception in thread "main" java.lang.NoSuchMethodError: cljs.js_deps.IJavaScript._url(Ljava/lang/Object;)Ljava/lang/Object;, compiling/tmp/form-init7914580949796230591.clj:1:73)
at clojure.lang.Compiler.load(Compiler.java:7526)
at clojure.lang.Compiler.loadFile(Compiler.java:7452)
at clojure.main$load_script.invokeStatic(main.clj:278)
at clojure.main$init_opt.invokeStatic(main.clj:280)
at clojure.main$init_opt.invoke(main.clj:280)
at clojure.main$initialize.invokeStatic(main.clj:311)
at clojure.main$null_opt.invokeStatic(main.clj:345)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.invokeStatic(main.clj:424)
at clojure.main$main.doInvoke(main.clj:387)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:702)
at clojure.main.main(main.java:37)
Caused by: java.lang.NoSuchMethodError: cljs.js_deps.IJavaScript._url(Ljava/lang/Object;)Ljava/lang/Object;
at cljs.closure$rel_output_path.invokeStatic(closure.clj:1706)
at cljs.closure$rel_output_path.invoke(closure.clj:1698)
at cljs.closure$write_javascript.invokeStatic(closure.clj:1856)
at cljs.closure$write_javascript.invoke(closure.clj:1850)
at cljs.closure$source_on_disk.invokeStatic(closure.clj:1899)
at cljs.closure$source_on_disk.invoke(closure.clj:1894)
at cljs.closure$build$fn__5906.invoke(closure.clj:2825)
at clojure.core$map$fn__5587.invoke(core.clj:2747)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:528)
at clojure.core$seq__5124.invokeStatic(core.clj:137)
at clojure.core$dorun.invokeStatic(core.clj:3125)
at clojure.core$doall.invokeStatic(core.clj:3140)
at clojure.core$doall.invoke(core.clj:3140)
at cljs.closure$build.invokeStatic(closure.clj:2825)
at cljs.closure$build.invoke(closure.clj:2718)
at cljs.build.api$build.invokeStatic(api.clj:208)
at cljs.build.api$build.invoke(api.clj:189)
at cljs.build.api$build.invokeStatic(api.clj:195)
at cljs.build.api$build.invoke(api.clj:189)
at user$eval27281.invokeStatic(form-init7914580949796230591.clj:1)
at user$eval27281.invoke(form-init7914580949796230591.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:7062)
at clojure.lang.Compiler.eval(Compiler.java:7052)
at clojure.lang.Compiler.load(Compiler.java:7514)
... 12 more
Subprocess failed
```

See https://github.com/JoelSanchez/cljs-aot-doo-repro



 Comments   
Comment by Joel Sánchez López [ 22/Apr/18 3:03 PM ]

Second repro, with cljsbuild (no doo involved):
https://github.com/JoelSanchez/cljs-aot-cljsbuild-repro

Comment by Joel Sánchez López [ 22/Apr/18 4:44 PM ]

Turns out I was depending on 'tubular', which in turn was depending on 'clojure.core.typed'. A new 'tubular' release fixed the issue.
Please someone close this...I can't.

Generated at Tue Mar 19 03:04:33 CDT 2019 using JIRA 4.4#649-r158309.