You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Wilder Rodrigues (JIRA)" <ji...@apache.org> on 2015/05/27 10:59:17 UTC

[jira] [Created] (CLOUDSTACK-8517) Cannot start SSVM/CPVM due to a NPE on LibvirtStartCommandWrapper

Wilder Rodrigues created CLOUDSTACK-8517:
--------------------------------------------

             Summary: 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


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)