Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-271

updatePhysicalNetwork dies with an NPE when the vlan range is empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • Network Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      2012-10-05 23:18:22,754 ERROR [cloud.api.ApiDispatcher] (Job-Executor-17:job-17) Exception while executing UpdatePhysicalNetworkCmd:
      java.lang.NullPointerException
      at com.cloud.network.NetworkManagerImpl.checkGuestVnetsConflicts(NetworkManagerImpl.java:5429)
      at com.cloud.network.NetworkManagerImpl.updatePhysicalNetwork(NetworkManagerImpl.java:5376)
      at com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1231)
      at com.cloud.api.commands.UpdatePhysicalNetworkCmd.execute(UpdatePhysicalNetworkCmd.java:99)
      at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
      at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)

      The code should not check for overlapping VLANs is vlans are not used as the isolation type.

      Attachments

        Activity

          People

            htrippaers Hugo Trippaers
            htrippaers Hugo Trippaers
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: