Skip to content
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

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.

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

No branches or pull requests

1 participant