This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-28
Channels
- # adventofcode (2)
- # announcements (4)
- # babashka (34)
- # beginners (44)
- # biff (5)
- # calva (8)
- # cider (4)
- # clj-kondo (5)
- # clj-on-windows (5)
- # clojure (57)
- # clojure-art (1)
- # clojure-denmark (2)
- # clojure-europe (40)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-seattle (1)
- # clojure-uk (2)
- # clojurescript (20)
- # cursive (6)
- # datomic (1)
- # emacs (6)
- # events (5)
- # fulcro (22)
- # helix (5)
- # hyperfiddle (5)
- # jobs (1)
- # joyride (2)
- # lsp (8)
- # malli (8)
- # off-topic (30)
- # pathom (8)
- # pedestal (1)
- # portal (5)
- # proton (1)
- # rdf (2)
- # re-frame (4)
- # releases (1)
- # remote-jobs (1)
- # reveal (8)
- # xtdb (5)
@cfleming Manage to see this stub generation issue in IntelliJ IDEA 2022.2.4 (Ultimate Edition) Build #IU-222.4459.24, built on November 22, 2022
(on @onetom’s team), which we haven't seen before:
java.io.FileNotFoundException: /Users/lusia/Library/Caches/JetBrains/IntelliJIdea2022.2/cursive_stubs_3176d153/342a3e14-tmp/73746538.clj (No such file or directory)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
at java.base/java.io.FileOutputStream. (FileOutputStream.java:235)
at $fn__11619.invokeStatic(io.clj:230)
at $fn__11619.invoke(io.clj:230)
at $fn__11543$G__11525__11550.invoke(io.clj:69)
at $fn__11631.invokeStatic(io.clj:263)
at $fn__11631.invoke(io.clj:259)
at $fn__11543$G__11525__11550.invoke(io.clj:69)
at $fn__11593.invokeStatic(io.clj:166)
at $fn__11593.invoke(io.clj:166)
at $fn__11556$G__11521__11563.invoke(io.clj:69)
at $writer.invokeStatic(io.clj:119)
at $writer.doInvoke(io.clj:104)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at clojure.lang.AFn.applyToHelper(AFn.java:154)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure.core$apply.invokeStatic(core.clj:669)
at clojure.core$spit.invokeStatic(core.clj:7021)
at clojure.core$spit.doInvoke(core.clj:7021)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at user$eval253.invokeStatic(create-stub5683523002239954284.clj:2)
at user$eval253.invoke(create-stub5683523002239954284.clj:2)
at clojure.lang.Compiler.eval(Compiler.java:7194)
at clojure.lang.Compiler.load(Compiler.java:7653)
at clojure.lang.Compiler.loadFile(Compiler.java:7591)
at clojure.main$load_script.invokeStatic(main.clj:475)
at clojure.main$init_opt.invokeStatic(main.clj:477)
at clojure.main$init_opt.invoke(main.clj:477)
at clojure.main$initialize.invokeStatic(main.clj:508)
at clojure.main$null_opt.invokeStatic(main.clj:542)
at clojure.main$null_opt.invoke(main.clj:539)
at clojure.main$main.invokeStatic(main.clj:664)
at clojure.main$main.doInvoke(main.clj:616)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.main.main(main.java:40)
Could you check which of those files exist? Does the file cursive_stubs_3176d153/342a3e14-tmp/73746538.clj
exist? What about the cursive_stubs_3176d153/342a3e14-tmp
or the cursive_stubs_3176d153
directories? Using the full path from the error message, of course.
subfolder 342a3e14-tmp
doesn't exist
ls /Users/lusia/Library/Caches/JetBrains/IntelliJIdea2022.2/cursive_stubs_3176d153
7d8a2494 83c6d90e
this has just happened to me again too, during stub generation on IJ Build #IU-223.7571.182, built on November 29, 2022
& Cursive 1.12.5-2022.3
:
java.io.FileNotFoundException: /Users/onetom/Library/Caches/JetBrains/IntelliJIdea2022.3/cursive_stubs_1c381054/82249e8f-tmp/62a3afe9.clj (No such file or directory)
at java.base/java.io.FileOutputStream.open0(Native Method)
<same stack trace as above; i've spot-checked most line number and they matched>
checked the file hierarchy:
❯ cat /Users/onetom/Library/Caches/JetBrains/IntelliJIdea2022.3/cursive_stubs_1c381054/82249e8f-tmp/62a3afe9.clj
cat: /Users/onetom/Library/Caches/JetBrains/IntelliJIdea2022.3/cursive_stubs_1c381054/82249e8f-tmp/62a3afe9.clj: No such file or directory
❯ ls /Users/onetom/Library/Caches/JetBrains/IntelliJIdea2022.3/cursive_stubs_1c381054/82249e8f-tmp/
ls: cannot access '/Users/onetom/Library/Caches/JetBrains/IntelliJIdea2022.3/cursive_stubs_1c381054/82249e8f-tmp/': No such file or directory
❯ ls /Users/onetom/Library/Caches/JetBrains/IntelliJIdea2022.3/cursive_stubs_1c381054/
27a67855 82249e8f a66d1e33