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

Unchecked exceptions caused by behavior implementations are silently dropped

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2
    • Epic Link:

      Description

      Suppose a driver implementing FlowRuleProgrammable has a bug that throws an unchecked exception. No trace of this exception can be found in the log, hence making it very difficult to debug the problem.

      For example when I run a command in the CLI to add a flow rule, the operation fails because of a bug in the driver and the command hangs until I press ctrl+C (see attachment). In my case the exception is a NullPointerException, but no trace of this can be found in the log.

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              carmelo Carmelo Cascone
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: