Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4772

Optical resource query can throw NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Some LambdaQuery and TributarySlotQuery can throw NPE, when the Device service does not have an entry for the queried Port yet.

      It should return empty collection under such condition.

      e.g., https://gerrit.onosproject.org/10256

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            y-higuchi Yuta Higuchi
            Reporter:
            y-higuchi Yuta Higuchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: