NPE when running IOFiber
See original GitHub issueI am occasionally seeing an error with cats-effect 3.2.9 that I can’t yet reproduce locally. The following is the full stacktrace:
java.lang.NullPointerException: null
at cats.effect.internals.Utils.setThreadTokenAndRefCount(Utils.java:57)
at cats.effect.IOFiber.run(IOFiber.scala)
at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:435)
I’m not sure where cats.effect.internals.Utils.setThreadTokenAndRefCount
comes from, or what’s setting this off. Will continue make some attempts to minimise, but in the meantime the stacktrace makes it look like there’s some error in the heart of cats-effect. If there’s anything anyone can think of trying to help me produce a more useful report, please let me know - I am currently mystified by pretty much every aspect of the error
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
cats-effect 3 instrumentation throws fatal NPE #544 - GitHub
Description cat-effect 3 instrumentation sometimes throws java.lang.NullPointerException: null at cats.effect.internals.Utils.
Read more >java - What is a NullPointerException, and how do I fix it?
Throws an NPE with a custom error message if obj is null Objects. ... the statement labeled "HERE" is going to attempt to...
Read more >How to Fix and Avoid NullPointerException in Java - Rollbar
NullPointerException in Java occurs when a variable is accessed which is not pointing to any object and refers to nothing or null.
Read more >JR62019: YOU RECEIVE A NULLPOINTEREXCEPTION ... - IBM
When the BPMInstallOfflinePackage wsadmin command runs, a check determines whether the number of snapshots on the system is above the warning threshold.
Read more >Java NullPointerException - Detect, Fix, and Best Practices
When we run the above program, it throws the following NullPointerException error message. Exception in thread "main" java.lang.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Forgot to post the linked issue 🤦 https://github.com/newrelic/newrelic-java-agent/issues/544
I don’t think so, thanks very much though. I’ll raise an issue against new relic.