[main] INFO org.opendaylight.infrautils.ready.karaf.internal.SystemReadyTest - ------------------------------------------------------------------------------------------------------------------------ [main] INFO org.opendaylight.infrautils.ready.karaf.internal.SystemReadyTest - BEGIN @Test testMbeanRegistration() [main] INFO org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady - ThreadFactory created: SystemReadyService [main] INFO org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady - Now starting to provide full system readiness status updates (see TestBundleDiag's logs)... [main] INFO org.opendaylight.infrautils.ready.karaf.internal.SystemReadyTest - ENDED (92ms) @Test testMbeanRegistration() [SystemReadyService-0] INFO org.opendaylight.odlparent.bundlestest.lib.TestBundleDiag - checkBundleDiagInfos() started... [SystemReadyService-0] ERROR org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady - Boot failed; not all SystemReadyListeners were not called, SystemState FAILURE java.lang.NullPointerException: Cannot invoke "org.osgi.framework.BundleContext.getBundles()" because "bundleContext" is null at org.opendaylight.odlparent.bundlestest.lib.BundleDiagInfosImpl.forContext(BundleDiagInfosImpl.java:77) at org.opendaylight.odlparent.bundlestest.lib.TestBundleDiag.getBundleDiagInfos(TestBundleDiag.java:114) at org.awaitility.core.AbstractHamcrestCondition.lambda$new$0(AbstractHamcrestCondition.java:48) at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:232) at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:219) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) [SystemReadyService-0] ERROR org.opendaylight.infrautils.ready.karaf.internal.KarafSystemReady - Thread terminated due to uncaught exception: SystemReadyService-0 java.lang.NullPointerException: Cannot invoke "org.osgi.framework.BundleContext.getBundles()" because "bundleContext" is null at org.opendaylight.odlparent.bundlestest.lib.BundleDiagInfosImpl.forContext(BundleDiagInfosImpl.java:77) at org.opendaylight.odlparent.bundlestest.lib.TestBundleDiag.getBundleDiagInfos(TestBundleDiag.java:114) at org.awaitility.core.AbstractHamcrestCondition.lambda$new$0(AbstractHamcrestCondition.java:48) at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:232) at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:219) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)