[TRNSPRTPCE-392] TransportPCE - feature installation issue Created: 28/Jan/21  Updated: 03/Sep/21  Resolved: 09/Feb/21

Status: Verified
Project: transportpce
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Gilles Thouenon Assignee: Emmanuelle Delfour
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 4 hours
Original Estimate: Not Specified

Attachments: Text File TransportPCE-feature_install_issue.log    

 Description   

In master branch of TransportPCE project (change https://git.opendaylight.org/gerrit/c/transportpce/+/94272 for example), we're encountering an issue when we try to install one of our new TransportPCE feature : odl-transportpce-nbinotifications.
A NPE blocks the associated bundle starting.

ERROR : bundle org.opendaylight.mdsal.dom-schema-osgi:7.0.4 (254)[org.opendaylight.mdsal.dom.schema.osgi.impl.OSGiDOMSchemaService(34)] : The addListener method has thrown an exception
java.lang.NullPointerException

We are forced to logout and restart the controller to have all bundles, and especially the transportpce-nbinotifications bundle associated to our given feature correctly started.



 Comments   
Comment by Emmanuelle Delfour [ 09/Feb/21 ]

Dependencies pb between nbinotifications bundle and restconf (same dependencie, different version) The quick patch was to align nbinotifications dependency version to restconf. The definitive patch was refactor the bundle to be more compliant with kafka serializer/deserializer and remove the faulty dependency.

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