[OVSDB-414] Karaf4 shutdown NullPointerException at org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.registerConnectionListener Created: 08/Jun/17  Updated: 05/Dec/19

Status: Open
Project: ovsdb
Component/s: Library
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Michael Vorburger Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks NETVIRT-719 Karaf4 specific problems seen on boot... Resolved
External issue ID: 8641

 Description   

As part of overall NETVIRT-719 (maybe also in SFC-196 unclear), see full log attached there, this NPE from ovsdb appears in the log of Karaf 4 (only) based distributions during its shutdown (after a Ctrl-D in its console):

2017-06-08 15:52:45,841 | ERROR | ult-dispatcher-2 | EntityOwnershipListenerActor | 208 - org.opendaylight.controller.sal-clustering-commons - 1.6.0.SNAPSHOT | Error notifying listener org.opendaylight.controller.md.sal.dom.clustering.impl.LegacyEntityOwnershipServiceAdapter$DOMEntityOwnershipListenerAdapter@368e01be
 java.lang.NullPointerException
 at org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService.registerConnectionListener(OvsdbConnectionService.java:200)[354:org.opendaylight.ovsdb.library:1.5.0.SNAPSHOT]
 at Proxy014f4ea5_8137_4961_a393_c1190a3464c1.registerConnectionListener(Unknown Source)[:]
 at Proxy136cdcdc_9d1e_4913_9269_d9a33d548a3b.registerConnectionListener(Unknown Source)[:]
 at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepSouthboundProvider.handleOwnershipChange(HwvtepSouthboundProvider.java:155)[353:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.5.0.SNAPSHOT]
 at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepSouthboundProvider$HwvtepsbPluginInstanceEntityOwnershipListener.ownershipChanged(HwvtepSouthboundProvider.java:174)[353:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.5.0.SNAPSHOT]
 at org.opendaylight.controller.md.sal.dom.clustering.impl.LegacyEntityOwnershipServiceAdapter$DOMEntityOwnershipListenerAdapter.ownershipChanged(LegacyEntityOwnershipServiceAdapter.java:139)[205:org.opendaylight.controller.sal-broker-impl:1.6.0.SNAPSHOT]
 at org.opendaylight.controller.cluster.datastore.entityownership.EntityOwnershipListenerActor.onEntityOwnershipChanged(EntityOwnershipListenerActor.java:44)[215:org.opendaylight.controller.sal-distributed-datastore:1.6.0.SNAPSHOT]
 at org.opendaylight.controller.cluster.datastore.entityownership.EntityOwnershipListenerActor.handleReceive(EntityOwnershipListenerActor.java:33)[215:org.opendaylight.controller.sal-distributed-datastore:1.6.0.SNAPSHOT]
 at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:28)[208:org.opendaylight.controller.sal-clustering-commons:1.6.0.SNAPSHOT]

Generated at Wed Feb 07 20:36:20 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.