Closed mping closed 8 years ago
The bug was triggered by joining a collection of fibers rather than one. You should lein install
Pulsar locally and then depend on 0.7.6-SNAPSHOT
.
@circlespainter thanks for the quick fix, gonna give it a go.
@circlespainter I installed pulsar locally from git, updated the dependency on project.clj
but I still have the same error. Do I need to update quasar also?
I noticed my code has an unused expression joined (join res)
but it shouldn't affect the bug.
Here's a gist with the relevant files: https://gist.github.com/mping/c886851ec9001aa3a6b6d5494e7ed2ea
Oh, so you're using auto-instrumentation. If you remove it it works but of course it should work also with auto-instrumentation so I'll reopen the issue.
Thanks, I tried without auto-instrumentation and its fine. I'll wait for the fix anyway.
Hi, it should work both with automatic and manual instrumentation now. You'll need to upgrade to Quasar 0.7.6-SNAPSHOT
though and re-build and re-install Pulsar. Let me know if it works fine for you too.
Here's my skynet example:
If I remove the
fiber
creation and thejoin
call the code works, but using fibers I get a NPE exception somewhere. I'm a clojure newbie so I may be doing something wrong, but I cannot see where. Here's the stack: