question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connected but doesn't work. Error msg in output

See original GitHub issue

It prompted “connected to nRepl” but all evals don’t work. I found many error msgs in the output window of nRepl: Here are a few of them:

nREPL server started on port 60953 on host 127.0.0.1 - nrepl://127.0.0.1:60953
Exception in thread "nREPL-worker-0" java.lang.ClassCastException: nrepl.transport.FnTransport cannot be cast to clojure.tools.nrepl.transport.Transport

...
Exception in thread "nREPL-worker-1" java.lang.ClassCastException: nrepl.transport.FnTransport cannot be cast to clojure.tools.nrepl.transport.Transport
	at cider.nrepl.middleware.track_state$make_transport$reify__6508.send(track_state.clj:186)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...

ERROR: Unhandled REPL handler exception processing message {:ns examples.core, :op info, :symbol append}
java.lang.IllegalArgumentException: No implementation of method: :send of protocol: #'clojure.tools.nrepl.transport/Transport found for class: nrepl.transport.FnTransport

Not sure what is happening here?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
avlicommented, Feb 15, 2019

Usually I connect to a running nREPL in the VSCode terminal (Ctrl+backquote) with lein repl :connect localhost:<port>, where <port> is the port you can see in the status line of the editor.

0reactions
Huxprocommented, Feb 15, 2019

@avli Thx! That works nicely! BTW, what’s the proper way to do “Interaction with REPL”? May I able to eval the whole buffer and open the nREPL connected side-by-side in the VSCode like emacs? Otherwise, I might have to write things in code then run Eval and show result then delete it after seeing the result. That doesn’t sound a very productive workflow.

Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Printer Won't Print and Everything Is Connected Perfectly
The printer you plugged in to a USB hub on a system with too many peripherals to accommodate a direct connection may refuse...
Read more >
How to Fix the Disk Input / Output Error in Windows
The first step is to adjust all cables connecting parts of the computer. Check the cables and their clamps / holders for any...
Read more >
6 Troubleshooting Tips When Your PC Monitor Has No Signal
A no signal error on a monitor could be a sign that your PC monitor is ignoring the graphics output from your PC....
Read more >
How to fix the "No speakers or headphones are plugged in" error
Solution 1: Run the Sound Troubleshooter · Open the Settings app by pressing down the Windows + I keys on your keyboard. ·...
Read more >
13 Common Printer Problems and How to Fix Them
If that still doesn't work, try turning the printer and your computer off, and then start it back up again. Try uninstalling and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found