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

POST FlowObjectives with INVALID operation/Type/Flag type causes NPE

    XMLWordPrintable

    Details

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

      Description

      Using Rest API , POST a FlowObjectives with Invalid Operations/Flags TYPE throws a NPE java.lang.NullPointerException
      Since the FlowObjectives Type is not valid the method decode in (ForwardObjectivesCodec.java) logs a warning and return NULL .
      This is accessed by the FlowWebResource causing a NPE and returning a 500 response.

        Attachments

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

          Activity

            People

            Assignee:
            kavitha Kavitha Alagesan
            Reporter:
            kavitha Kavitha Alagesan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: