[engine-backend] Null Pointer Exception when during “preview mode” action, service ovirt-engine restart (RestoreFromSnapshotCommand threw an exception: java.lang.NullPointerException)
Created attachment 730699[details]
vdsm+engine logs
Description of problem:
Null Pointer Exception when during “preview mode” action, service ovirt-engine restart (RestoreFromSnapshotCommand threw an exception: java.lang.NullPointerException)
Version-Release number of selected component (if applicable):
rhevm-backend-3.2.0-10.17.master.el6ev.noarch
vdsm-4.10.2-13.0.el6ev.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Create VM with IDE disk, and Windows OS installed
2. Power-On VM
3. Create a Live-Snapshot
4. Power off VM
5. Select a snapshot and run “preview” action
6. After ovirt-engine starts, select 'commit' to the previewed snapshot.
Actual results:
RHEVM enter to loop “NullPointerException”
Expected results:
If there is a task in the backend it should be finished succusfully.
If there were no task created, it should be reverted.
Additional info: see logs attached
2013-04-02 12:50:10,216 ERROR [org.ovirt.engine.core.bll.RestoreFromSnapshotCommand] (ajp-/127.0.0.1:8702-8) [6b36e1fe] Command org.ovirt.engine.core.bll.RestoreFromSnapshotCommand throw exception: java.lang.NullPointerException
Could not reproduce in sf13.1, after I've put the snapshot in preview I restarted the service, re-logged in to the webadmin and selected commit, all worked as it should, can you please check in sf13.1 or latest?
Created attachment 730699 [details] vdsm+engine logs Description of problem: Null Pointer Exception when during “preview mode” action, service ovirt-engine restart (RestoreFromSnapshotCommand threw an exception: java.lang.NullPointerException) Version-Release number of selected component (if applicable): rhevm-backend-3.2.0-10.17.master.el6ev.noarch vdsm-4.10.2-13.0.el6ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create VM with IDE disk, and Windows OS installed 2. Power-On VM 3. Create a Live-Snapshot 4. Power off VM 5. Select a snapshot and run “preview” action 6. After ovirt-engine starts, select 'commit' to the previewed snapshot. Actual results: RHEVM enter to loop “NullPointerException” Expected results: If there is a task in the backend it should be finished succusfully. If there were no task created, it should be reverted. Additional info: see logs attached 2013-04-02 12:50:10,216 ERROR [org.ovirt.engine.core.bll.RestoreFromSnapshotCommand] (ajp-/127.0.0.1:8702-8) [6b36e1fe] Command org.ovirt.engine.core.bll.RestoreFromSnapshotCommand throw exception: java.lang.NullPointerException