Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-565

NPE during initializing bgp feature with config from OpenConfig

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Bugzilla Migration
    • Bugzilla Migration
    • BGP
    • None
    • Operating System: All
      Platform: All

    • 6826

      I submitted a change through OpenConfig to configure the BGP RIB, however, a NPE was thrown immediately. It even happens after I restart on controller.

      It was possibly due to I deleted the BGP RIB configuration via OpenConfig API during the test. But it still happened after I put the RIB configuration back via OpenConfig.

      2016-09-28 10:19:43,993 | ERROR | on-dispatcher-40 | DataTreeChangeListenerActor | 197 - org.opendaylight.controller.sal-distributed-datastore - 1.4.0.Boron | Error notifying listener org.opendaylight.controller.md.sal.binding.impl.BindingClusteredDOMDataTreeChangeListenerAdapter@27357aac
      java.lang.NullPointerException
      at org.opendaylight.protocol.bgp.rib.impl.config.RibImpl.createRib(RibImpl.java:222)[286:org.opendaylight.bgpcep.bgp-rib-impl:0.6.0.Boron]
      at org.opendaylight.protocol.bgp.rib.impl.config.RibImpl.start(RibImpl.java:90)[286:org.opendaylight.bgpcep.bgp-rib-impl:0.6.0.Boron]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.initiateRibInstance(BgpDeployerImpl.java:214)[286:org.opendaylight.bgpcep.bgp-rib-impl:0.6.0.Boron]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.onGlobalCreated(BgpDeployerImpl.java:189)[286:org.opendaylight.bgpcep.bgp-rib-impl:0.6.0.Boron]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.onGlobalModified(BgpDeployerImpl.java:166)[286:org.opendaylight.bgpcep.bgp-rib-impl:0.6.0.Boron]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.onGlobalChanged(BgpDeployerImpl.java:151)[286:org.opendaylight.bgpcep.bgp-rib-impl:0.6.0.Boron]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.onDataTreeChanged(BgpDeployerImpl.java:112)[286:org.opendaylight.bgpcep.bgp-rib-impl:0.6.0.Boron]
      at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:41)[168:org.opendaylight.controller.sal-binding-broker-impl:1.4.0.Boron]
      at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataChanged(DataTreeChangeListenerActor.java:55)[197:org.opendaylight.controller.sal-distributed-datastore:1.4.0.Boron]
      at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.handleReceive(DataTreeChangeListenerActor.java:37)[197:org.opendaylight.controller.sal-distributed-datastore:1.4.0.Boron]
      at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:26)[192:org.opendaylight.controller.sal-clustering-commons:1.4.0.Boron]

            Unassigned Unassigned
            kevinxw Kevin Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: