You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Alena Prokharchyk (JIRA)" <ji...@apache.org> on 2012/10/06 00:16:02 UTC

[jira] [Commented] (CLOUDSTACK-271) updatePhysicalNetwork dies with an NPE when the vlan range is empty

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470720#comment-13470720 ] 

Alena Prokharchyk commented on CLOUDSTACK-271:
----------------------------------------------

The NPE problem is fixed with fa81f272549ce37c1419054ec76c5f70c484f1bc.

create/updatePhysicalNetwork API is yet to be fixed - don't allow creating/updating the physical network with not null vnet range if Isolated method is not VLAN.
                
> updatePhysicalNetwork dies with an NPE when the vlan range is empty
> -------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-271
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-271
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Network Controller
>    Affects Versions: 4.1.0
>            Reporter: Hugo Trippaers
>            Assignee: Hugo Trippaers
>             Fix For: 4.1.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira