Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build what is described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3 WARNING: A Java agent has been loaded dynamically (/tmp/r/net/bytebuddy/byte-buddy-agent/1.15.3/byte-buddy-agent-1.15.3.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build what is described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3 [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [transaction-invoker-impl-0] ERROR org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl - Failed to execute hwvtep transact command, re-submitting the transaction again java.lang.NullPointerException: Failed to execute command at org.opendaylight.ovsdb.hwvtepsouthbound.TransactionInvokerImplTest.lambda$new$1(TransactionInvokerImplTest.java:63) at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl.executeCommand(TransactionInvokerImpl.java:121) at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl.run(TransactionInvokerImpl.java:100) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) [transaction-invoker-impl-1] ERROR org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl - Failed to execute hwvtep transact command, re-submitting the transaction again java.lang.NullPointerException: Failed to execute command at org.opendaylight.ovsdb.hwvtepsouthbound.TransactionInvokerImplTest.lambda$new$1(TransactionInvokerImplTest.java:63) at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl.executeCommand(TransactionInvokerImpl.java:121) at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl.run(TransactionInvokerImpl.java:100) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583)