Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Library crashes with NullPointerException when using DynamicLibraryScheduler and MonitoringAgentFactory.none() #473

Open
fredfp opened this issue Dec 13, 2022 · 0 comments

Comments

@fredfp
Copy link
Contributor

fredfp commented Dec 13, 2022

Running the library with the configuration below triggers

java.lang.NullPointerException: Cannot invoke "org.agrona.concurrent.Agent.onStart()" because "this.monitoringAgent" is null

new LibraryConfiguration()
  .scheduler(new DynamicLibraryScheduler())
  .monitoringAgentFactory(MonitoringAgentFactory.none())

DynamicLibraryScheduler doesn't seem to handle this properly.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant