[
https://issues.apache.org/jira/browse/CLOUDSTACK-8517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wilder Rodrigues closed CLOUDSTACK-8517.
----------------------------------------
PR closed
> Cannot start SSVM/CPVM due to a NPE on LibvirtStartCommandWrapper
> -----------------------------------------------------------------
>
> Key: CLOUDSTACK-8517
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8517
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM
> Affects Versions: 4.6.0
> Reporter: Wilder Rodrigues
> Assignee: Wilder Rodrigues
> Priority: Critical
> Fix For: 4.6.0
>
>
> Related to changes made on #CLOUDSTACK-8486
> The LibvirtUtilitiesHelp was supposed to be injected in the
> LibvirtComputingResource, but is not.
> Due to that, when the
> libvirtUtilitiesHelper.getConnectionByType(vm.getHvsType()) is called on line
> 72 of the LibvirtStartCommandWrapper, it throws a NPE.
> Due to bad exception handling on LibvirtComputingResource, prior to the
> refactoring, the exception gets caught and an UnsupportedCommandAnswer is
> reported.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)