Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-2954

HeatBridge throws NPE: null value in entry: network.getNetworkType().equals()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • Frankfurt Release
    • Frankfurt Release
    • SB-00

      The last line raises exception. In windriver getNetworkType() returns Null and over OpenStack client returned type is None. We need to support this case in the code in the last line shown in here.

      Network network = osClient.getNetworkById(port.getNetworkId());
      lIf.setNetworkName(network.getName());
      if (network.getNetworkType().equals(NetworkType.VLAN)) {

            seshukm seshukm
            rajewluk Lukasz Rajewski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: