babashka-sci-dev

Adam Kalisz 2022-11-08T13:37:19.175709Z

This npx nbb nrepl-server :port 8001 seems to crash when I connect to it using IntelliJ remote REPL. The trace is in the crash-trace.txt attachment. It tries to look for Tk [Error]: Unable to resolve classname: java.io.PrintWriter Any ideas?

borkdude 2022-11-08T13:39:03.665679Z

@adam.kalisz You should take this up with #cursive’s maintainer. I think there might already be an issue about nbb. Nothing nbb can do here really, it's cursive that assumes a JVM on the other end

👍 1
borkdude 2022-11-08T13:40:39.667829Z

If you're willing to try #calva as one of the closest things to IntelliJ, it has good support for nbb

borkdude 2022-11-08T13:43:55.107119Z

There is also an #nbb channel

Adam Kalisz 2022-11-08T13:44:12.599389Z

Thanks for the quick reply and suggestions. I would expect, it wouldn't crash 🙂

borkdude 2022-11-08T13:45:12.487379Z

well, I can fix that, but you still won't have a working nrepl ;)

Adam Kalisz 2022-11-08T14:00:03.221759Z

That is ok, but IMHO a connection made in error shouldn't crash the program - it should perhaps produce a trace/ log a warning or something 🙂 Thank you for your patience!

borkdude 2022-11-08T14:00:31.806599Z

I agree with that, I didn't know this was your issue

borkdude 2022-11-08T14:00:37.326819Z

issue welcome