[NETVIRT-1620] Update qos for port failed Created: 26/Aug/19  Updated: 27/Nov/19  Resolved: 27/Nov/19

Status: Verified
Project: netvirt
Component/s: qosservice
Affects Version/s: Neon
Fix Version/s: Magnesium

Type: Bug Priority: Medium
Reporter: ning zhang Assignee: ning zhang
Resolution: Done Votes: 0
Labels: csit:exception
Remaining Estimate: 2 days
Time Spent: Not Specified
Original Estimate: 1 day
Environment:

3 ODL controller, With the integration of openstack;

 


Attachments: Text File karaf_7.log    
Epic Link: Clustering Stability
Priority: Normal

 Description   

When update qos for interface, Throw an exception:

java.lang.NullPointerException: nulljava.lang.NullPointerException: null at org.opendaylight.netvirt.qosservice.QosTerminationPointListener.isBandwidthRuleCleared(QosTerminationPointListener.java:94) ~[?:?] at org.opendaylight.netvirt.qosservice.QosTerminationPointListener.update(QosTerminationPointListener.java:122) ~[?:?] at org.opendaylight.netvirt.qosservice.QosTerminationPointListener.update(QosTerminationPointListener.java:40) ~[?:?] at org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncClusteredDataTreeChangeListenerBase.java:165) ~[267:org.opendaylight.genius.mdsalutil-api:0.7.0.SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:?] at java.lang.Thread.run(Thread.java:748) [?:?]

The reason is : can not compare null with basic data type.

Test with Neon



 Comments   
Comment by Abhinav Gupta [ 25/Nov/19 ]

any update here?

Comment by ning zhang [ 25/Nov/19 ]

This issue  has been resolved in the submission below:

https://git.opendaylight.org/gerrit/c/netvirt/+/84986

Comment by Abhinav Gupta [ 27/Nov/19 ]

thanks

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