Daily Usage Issues

Rider NullPointerException

Started by Rasmus on 815 views

Rider 2025.3.1, NCrunch 5.21.0.2

Again, I have no idea when this happened or what I was doing in particular. Rider's little red exclamation mark in the bottom right of my screen often goes unnoticed for a while.

Cheers

Unhandled exception in java.util.concurrent.ThreadPoolExecutor@aa1154e[Running, pool size = 5, active threads = 4, queued tasks = 0, completed tasks = 28656], interactive mode: false

java.lang.NullPointerException
at com.remco.software.ncrunch.sharedMemory.SharedMemory.<init>(SharedMemory.kt:32)
at com.remco.software.ncrunch.editor.MemoryMapImageReceiver.createImageBuffer(MemoryMapImageReceiver.kt:291)
at com.remco.software.ncrunch.editor.MemoryMapImageReceiver.access$createImageBuffer(MemoryMapImageReceiver.kt:24)
at com.remco.software.ncrunch.editor.MemoryMapImageReceiver$startBackgroundReceiverJob$1$1.invokeSuspend(MemoryMapImageReceiver.kt:237)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@5d8c892e, java.util.concurrent.ThreadPoolExecutor@aa1154e[Running, pool size = 6, active threads = 2, queued tasks = 0, completed tasks = 266970]]
Thanks for sharing this. This one is going to be hard to track down without a way to reproduce it. Was there any notable impact other than the error message?

BTW - For exceptions that don't require follow up and troubleshooting, I recommend using the bug reporter inside NCrunch. It should generally capture errors from the IDE (you can also copy/paste them into the description to be clear), and it will include any background data from the engine at the time the exception happened.
Cool, I missed the embedded bug reporter. Will use that.

I cant recall any impact that I noted.
Rasmus wrote:Cool, I missed the embedded bug reporter. Will use that.


It's under the NCrunch tool menu, which you can also access by left clicking on the corner spinner.

Post a reply

Log in to reply.