Bug 864918 - [Backend] NPE when starting stateless VM (at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:355))
Summary: [Backend] NPE when starting stateless VM (at org.ovirt.engine.core.bll.Backen...
Keywords:
Status: CLOSED DUPLICATE of bug 863766
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
: ---
Assignee: Michal Skrivanek
QA Contact: Jakub Libosvar
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-10 11:50 UTC by Jakub Libosvar
Modified: 2012-10-18 07:47 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-18 07:47:52 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine log (39.62 KB, application/octet-stream)
2012-10-10 11:50 UTC, Jakub Libosvar
no flags Details

Description Jakub Libosvar 2012-10-10 11:50:01 UTC
Created attachment 624809 [details]
engine log

Description of problem:
When starting VM with stateless=True, NPE occurs:
2012-10-10 13:11:43,690 ERROR [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-4-thread-50) EntityAsyncTask::EndCommandAction [within thread]: EndAction for action type RunVmOnce threw an exception: java.lang.NullPointerException
	at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:355) [engine-bll.jar:]
	at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source) [:1.7.0_05-icedtea]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_05-icedtea]
	at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_05-icedtea]
	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee.jar:7.1.2.Final-redhat-1]
	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation.jar:1.1.1.Final-redhat-1]
	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation.jar:1.1.1.Final-redhat-1]
	at org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11) [engine-utils.jar:]
	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) [:1.7.0_05-icedtea]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_05-icedtea]
	at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_05-icedtea]
	at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee.jar:7.1.2.Final-redhat-1]


Version-Release number of selected component (if applicable):
rhevm-backend-3.1.0-20.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Have a VM 
2. Start it with stateless checkbox checked (or set it stateless as default)
  
Actual results:
NPE, task hangs

Expected results:
Snapshot is created and VM is started

Additional info:
seems like we already had it - bug 520818
Backend log attached

Comment 3 Frantisek Kobzik 2012-10-18 07:47:52 UTC

*** This bug has been marked as a duplicate of bug 863766 ***


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