artio
artio copied to clipboard
Library crashes with NullPointerException when using DynamicLibraryScheduler and MonitoringAgentFactory.none()
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.