Bug 1023403 - [RHEVM][backend] null pointer exception on assigning empty profile to running VM
Summary: [RHEVM][backend] null pointer exception on assigning empty profile to running VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
: 3.3.0
Assignee: Moti Asayag
QA Contact: Meni Yakove
URL:
Whiteboard: network
Depends On: 1017602
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-25 11:07 UTC by Martin Pavlik
Modified: 2016-02-10 19:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:11:44 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log_collector (9.23 MB, application/x-xz)
2013-10-25 11:07 UTC, Martin Pavlik
no flags Details
screenshot 1 (183.91 KB, image/png)
2013-10-25 11:09 UTC, Martin Pavlik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 20424 0 None None None Never

Description Martin Pavlik 2013-10-25 11:07:48 UTC
Created attachment 816091 [details]
log_collector

Description of problem:

When <Empty> profile is assigned to vNIC on running VM following error appears in GUI

Error while executing action:

F19:

    General command validation failure.


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: 3.3.0-0.28.beta1.el6ev 

How reproducible:
100%

Steps to Reproduce:
1. run VM with vNIC which has some profile assigned
2. switch profile on vNIC to <Empty>
3.

Actual results:
error on assigning <Empty> profile to vNIC

Expected results:
<Empty> profile assigned to vNIC

Additional info:

2013-10-25 12:46:52,388 ERROR [org.ovirt.engine.core.bll.network.vm.UpdateVmInterfaceCommand] (ajp-/127.0.0.1:8702-3) Error during CanDoActionFailure.: java.lang.NullPointerException
	at org.ovirt.engine.core.bll.network.vm.UpdateVmInterfaceCommand$UpdateVmNicValidator.hotUpdatePossible(UpdateVmInterfaceCommand.java:317) [bll.jar:]
	at org.ovirt.engine.core.bll.network.vm.UpdateVmInterfaceCommand.canDoAction(UpdateVmInterfaceCommand.java:205) [bll.jar:]
	at org.ovirt.engine.core.bll.CommandBase.internalCanDoAction(CommandBase.java:745) [bll.jar:]
	at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:360) [bll.jar:]
	at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:416) [bll.jar:]
	at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:395) [bll.jar:]
	at org.ovirt.engine.core.bll.Backend.RunAction(Backend.java:353) [bll.jar:]
	at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source) [:1.7.0_40]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40]
	at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee.jar:7.3.0.Final-redhat-6]

Comment 1 Martin Pavlik 2013-10-25 11:09:39 UTC
Created attachment 816092 [details]
screenshot 1

Comment 2 Moti Asayag 2013-10-27 08:36:38 UTC
The current bug was fixed as part of solving bug 1011116 .

Marting, could you verify this scenario with the latest build in which the fix for bug 1011116 is included ?

Comment 3 Martin Pavlik 2013-10-29 08:32:59 UTC
bug 1011116 was fixed and verified in is19
this bug was found in is20, I tested this on 2 independent environments to verify it just now

Comment 4 Moti Asayag 2013-10-29 09:03:42 UTC
(In reply to Martin Pavlik from comment #3)
> bug 1011116 was fixed and verified in is19
> this bug was found in is20, I tested this on 2 independent environments to
> verify it just now

Apologies, I got confused with Bug 1017602 (that fixes this issue) which is still on MODIFIED and should be included in the next build.

Comment 5 Meni Yakove 2013-11-10 13:59:34 UTC
rhevm-3.3.0-0.32.beta1.el6ev.noarch

Comment 6 Itamar Heim 2014-01-21 22:11:44 UTC
Closing - RHEV 3.3 Released


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