New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync Results in NPE #205
Comments
Note that merging all the defaults might cause some unintended side-effect. Not saying it will, but worth being aware of. At times Crux uses the presence of config keys to decide which component to use etc. |
Hey, this is an potential bug I brought up on the Juxt Zulip board. This error actually occurred on a cluster system with an external Kafka service. You can see the code base that generated this error at atamis/poe-app, but that repo has a lot going on, so I'm working on a minimal example codebase. Edit: I've uploaded a minimal reproduction of this bug at atamis/crux-reset-bug, however I succeeded too well. Originally, the crux system would work fine until the REPL got reloaded ( |
Thanks a lot for this @atamis. We'll have a look. Quick glance shows this happens even when providing a Duration to sync. Note for anyone looking into this, my initial analysis is still valid even if it doesn't apply in this case, there are missing defaults in the standalone mode which could also result in NPE. |
@atamis, while we closed this, which is related to the time out issue, there was also another sentence in the original bug report I now recall:
Is this issue related or reproducible via the above repo(s)? Thanks! |
Not sure what happened, but I can't reproduce the empty database issue any more; everything is working just fine. Which is good news, I guess. I'll let you know if I start having the issue again. |
Great, thanks a lot for trying @atamis, and as you say, please shout if you see it again. |
The root cause for this seems to be lack of merging in the
crux.bootstrap/default-options
incrux.bootstrap.standalone/start-standalone-system
. Seecrux.bootstrap.cluster-node/start-cluster-node
for reference.The text was updated successfully, but these errors were encountered: