This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-27
Channels
- # beginners (34)
- # boot (15)
- # cider (7)
- # cljs-dev (7)
- # cljsjs (2)
- # cljsrn (46)
- # clojure (130)
- # clojure-argentina (1)
- # clojure-colombia (2)
- # clojure-greece (1)
- # clojure-italy (53)
- # clojure-losangeles (1)
- # clojure-russia (15)
- # clojure-spec (8)
- # clojure-uk (100)
- # clojurescript (117)
- # core-matrix (1)
- # cursive (24)
- # datomic (41)
- # duct (1)
- # emacs (11)
- # fulcro (22)
- # graphql (4)
- # hoplon (3)
- # jobs (1)
- # lein-figwheel (3)
- # luminus (18)
- # lumo (52)
- # off-topic (57)
- # pedestal (2)
- # planck (12)
- # re-frame (22)
- # remote-jobs (1)
- # ring-swagger (6)
- # rum (7)
- # shadow-cljs (13)
- # yada (19)
all i can find is https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL but it uses the limited repl
@cfleming I’ve updated to the latest version of IntelliJ and I’m seeing this exception when I try to load a file in the repl https://gist.github.com/stuartrexking/405cde6dd1dd541bec61dd76fd390fa2
Invalidating the caches cleared it up.
I’m getting a stack overflow error in Cursive while indexing a large EDN file. Is this a known bug? (Also, have you ever tried googling for something dev-related that includes the phrase “stack overflow”? Yeesh.)
If I try to open the EDN file in an editor, the whole IDE locks up, have to force-quit. It’s a data dump we use as seed data for populating our dev database.
Ok, that did the trick, thanks @horza
@manutter51 Do you have a copy of the SOE around still?
@benny That’s the next large thing I’m going to work on. I’d hoped to get to it by now but other things have taken longer than I’d hoped.
@cfleming Yeah, it’s mostly repeating
at clojure.core$concat$cat__4217$fn__4218.invoke(core.clj:700)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:507)
at clojure.core$seq__4128.invoke(core.clj:137)
ERROR - napi.project.CacheUpdateRunner - Error while indexing
file
To reindex this file IDEA has to be restarted
java.lang.StackOverflowError
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:507)
at clojure.core$seq__4128.invoke(core.clj:137)
at clojure.core$concat$cat__4217$fn__4218.invoke(core.clj:700)
etc…Increasing -Xss
fixed it.
@manutter51 What’s at the end of the stacktrace, i.e. the earlier part which actually calls concat?
There isn’t any, it’s just those same 5 lines ending like this:
at clojure.core$concat$cat__4217$fn__4218.invoke(core.clj:700)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:507)
at clojure.core$seq__4128.invoke(core.clj:137)
2017-09-27 13:10:12,066 [ 24474] ERROR - napi.project.CacheUpdateRunner - IntelliJ IDEA 2017.2.5 Build #IU-172.4343.14
2017-09-27 13:10:12,066 [ 24474] ERROR - napi.project.CacheUpdateRunner - JDK: 1.8.0_152-release
2017-09-27 13:10:12,066 [ 24474] ERROR - napi.project.CacheUpdateRunner - VM: OpenJDK 64-Bit Server VM
2017-09-27 13:10:12,066 [ 24474] ERROR - napi.project.CacheUpdateRunner - Vendor: JetBrains s.r.o
2017-09-27 13:10:12,066 [ 24474] ERROR - napi.project.CacheUpdateRunner - OS: Mac OS X
2017-09-27 13:10:12,067 [ 24475] ERROR - napi.project.CacheUpdateRunner - Last Action:
2017-09-27 13:10:12,117 [ 24525] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 1857ms; general responsiveness: ok; EDT responsiveness: ok
Looks like 205 cycles (1025 lines divided by 5 lines per cycle)
@manutter51 That’s really weird - I mean, seq was called by something
I’ll check for uses of concat, anyway - it looks like https://stuartsierra.com/2015/04/26/clojure-donts-concat
My guess would be the stack trace was truncated due to length, so we never got the initial kick off