Fork me on GitHub
#cursive
<
2016-07-19
>
moizsj04:07:05

@cfleming: request to re-open. added fresh stacktrace (after disabling kotlin). see latest comment too. https://github.com/cursive-ide/cursive/issues/1457

madvas10:07:37

Has anybody met this error when trying to run REPL? Error running REPL for <project name>: Invalid javascript engine (javascript)

madvas10:07:28

It’s obviously because of lein less, but when I try lein repl or lein less once it works, throws error only in Cursive

madvas10:07:09

I have java 1.8.0_91

hlship23:07:37

Are there any limitations on the debugger & locals clearing? I’m using the debugger, the prevent locals clearing button is clicked, but I’m still seeing all my locals set to nil. JDK 1.8, Cursive 1.3.0-rc1-2016.2.

hlship23:07:57

Maybe its a timing thing; I reloaded the namespace I was debugging, now I see the expected locals.

hlship23:07:36

Perhaps the disable locals clearning button doesn’t take effect soon enough on startup? That is, code could be loaded (say, by user.clj) where locals are still cleared?

cfleming23:07:58

@moizsj: I’ve actually closed that since it’s a dupe of 1246. Are both of those from the same project?

cfleming23:07:28

@wasser: Thanks! I’m glad it’s helping you out.

cfleming23:07:20

@hlship: I’ve noticed this from time to time too. I don’t think it’s a timing thing - is your code usually AOT compiled?

hlship23:07:51

No, shouldn’t be aot compiled.

cfleming23:07:57

Hmm, interesting.

hlship23:07:22

But run as normal process, not via leiningen, because of our project structure

cfleming23:07:12

I don’t think that should affect things, but it’s possible there’s a bug there - I’ll look.

cfleming23:07:29

I’ve noticed this with my code from time to time recently but haven’t investigated it.

cfleming23:07:19

In my case I believe it was caused by switching to use Gradle.

cfleming23:07:11

@madvas: I’ve never seen that, but I suspect that is caused by the JVM that IntelliJ uses to run the IDE.

cfleming23:07:48

It’s not a full JDK, it’s a JRE with tools.jar available, but it may not have Nashorn available, which is what I guess the less plugin is trying to use.

cfleming23:07:57

You can select another 1.8 JDK to use by executing the command "Switch IDE boot JDK", but depending on your platform that will probably make your fonts look like crap 😞

cfleming23:07:04

@moizsj: My theory is that there’s something funky in your project which is causing that error. It’s in the code which finds cycles in the namespace dependency graph. Is your project somewhere I can look at it to see what’s going on?