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

ASF GitHub Bot commented on CLOUDSTACK-9796:
--------------------------------------------

GitHub user nathanejohnson opened a pull request:

    https://github.com/apache/cloudstack/pull/1956

    CLOUDSTACK-9796 - Fix NPE in VirtualMachineManagerImpl.java

    This checks the work variable for NULL in all cases where it is
    used.  Fixes CLOUDSTACK-9796.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/myENA/cloudstack bug/49npe_vmimpl

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1956.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1956
    
----
commit 7f62924f582671ae264ddab779c30ef5180bcbb4
Author: Nathan Johnson <[email protected]>
Date:   2017-02-20T20:58:20Z

    CLOUDSTACK-9796 - Fix NPE in VirtualMachineManagerImpl.java
    
    This checks the work variable for NULL in all cases where it is
    used.  Fixes CLOUDSTACK-9796.

----


> Null Pointer Exception in VirtualMachineManagerImpl.java
> --------------------------------------------------------
>
>                 Key: CLOUDSTACK-9796
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9796
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.8.0, 4.9.0
>         Environment: Cloudstack 4.8
>            Reporter: Nathan Johnson
>            Assignee: Nathan Johnson
>            Priority: Minor
>         Attachments: npelog.txt
>
>
> When a situation occurs where a VM hangs in the "Starting" state for longer 
> than the job.expire.minutes, and the job is deleted from the system, a null 
> pointer exception will occur because the work VO will be null inside of 
> advanceStop in VirtualMachineManagerImpl.java .  I have attached a snippet of 
> a log file of this NPE occurring in the wild.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to