Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-1620

Update qos for port failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Magnesium
    • Neon
    • qosservice
    • 3 ODL controller, With the integration of openstack;

       

      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

            zhangninglc ning zhang
            zhangninglc ning zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified