Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1472

NullPointerException in Devices.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • None
    • None
    • adsal
    • None
    • Operating System: All
      Platform: All

    • 4984

      I located one concurrency bug will raise NullpointerException inside Devices.java.

      The snippet for the bug:

      String nodeConnectorName = ((Name)switchManager.getNodeConnectorProp(nodeConnector,
      Name.NamePropName)).getValue();

      the switchManager.getNodeConnectorProp() function potentially returns a Null if a concurrent removal upon the property variable.
      A null checker can fix this bug.

            Unassigned Unassigned
            x.rayyle@gmail.com lei xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: