Add NPE guard for jetty and undertow threads configuration in blueprint (to prevent NPE during karaf-quickstart/../Keycloak-cxf quickstarts)
@@ -153,7 +153,9 @@ public class UndertowHTTPServerEngineFactoryHolder {
if (threads.getMinThreads() != null) {
rThreads.setMinThreads(threads.getMinThreads());
}
+ if (threads.getWorkerIOThreads() != null) {
rThreads.setWorkerIOThreads(threads.getWorkerIOThreads());
+ }
eng.setThreadingParameters(rThreads);
}
