Bug 1524172 - ProcessDownVmCommand fails with NullPointerException upon trying to rename VM
Summary: ProcessDownVmCommand fails with NullPointerException upon trying to rename VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.2.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.1.9
: ---
Assignee: Arik
QA Contact: Polina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-10 13:24 UTC by Polina
Modified: 2018-01-24 10:40 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-4.1.9
Clone Of:
Environment:
Last Closed: 2018-01-24 10:40:33 UTC
oVirt Team: Virt
Embargoed:
michal.skrivanek: ovirt-4.1?
pagranat: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
in the attached engine.log see the line 22682 for example.there are more places (7.51 MB, text/plain)
2017-12-10 13:24 UTC, Polina
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85270 0 master MERGED core: prevent NPE when internal command renames an entity 2017-12-11 15:57:33 UTC
oVirt gerrit 85271 0 master ABANDONED core: produce audit log for running vm being renamed 2017-12-11 13:31:04 UTC
oVirt gerrit 85297 0 ovirt-engine-4.1 MERGED core: prevent NPE when internal command renames an entity 2017-12-11 16:28:22 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.