Bug 1524172

Summary: ProcessDownVmCommand fails with NullPointerException upon trying to rename VM
Product: [oVirt] ovirt-engine Reporter: Polina <pagranat>
Component: BLL.VirtAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Polina <pagranat>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: ahadas, bugs, lveyde, tjelinek
Target Milestone: ovirt-4.1.9Flags: michal.skrivanek: ovirt-4.1?
pagranat: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.1.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-24 10:40:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
in the attached engine.log see the line 22682 for example.there are more places none

Description Polina 2017-12-10 13:24:12 UTC
Created attachment 1365590 [details]
in the attached engine.log see the line 22682 for example.there are more places

Description of problem:
Rename of VM causes "command 'org.ovirt.engine.core.bll.ProcessDownVmCommand' failed: java.lang.NullPointerException" (engine log attached)

Version-Release number of selected component (if applicable):


How reproducible:100%


Steps to Reproduce:
1.open Edit window for the running VM , change the name, ok in the popUp window saying about restart .
2.stop VM 


Actual results:
Command 'org.ovirt.engine.core.bll.ProcessDownVmCommand' failed: java.lang.NullPointerException
2017-12-10 14:49:14,070+02 ERROR [org.ovirt.engine.core.bll.ProcessDownVmCommand] (EE-ManagedThreadFactory-engine-Thread-2917) [1246794a] Exception: javax.ejb.EJBException: java.lang.NullPointerException
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:214) [wildfly-ejb3-7.1.0.GA-redhat-11.jar:7.1.0.GA-redhat-11]
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:266) [wildfly-ejb3-7.1.0.GA-redhat-11.jar:7.1.0.GA-redhat-11]
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:379) [wildfly-ejb3-7.1.0.GA-redhat-11.jar:7.1.0.GA-redhat-11]



Expected results: VM name changed with no NullPointerException


Additional info:

Comment 1 Polina 2018-01-15 09:01:47 UTC
verified in ovirt-engine-4.1.9-0.2.el7.noarch

Comment 2 Polina 2018-01-15 09:07:27 UTC
environment for verification compute-ge-he-2.qa.lab.tlv.redhat.com

Comment 3 Sandro Bonazzola 2018-01-24 10:40:33 UTC
This bugzilla is included in oVirt 4.1.9 release, published on Jan 24th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.1.9 release, published on Jan 24th 2018, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.