Oved Ourfali has submitted this change and it was merged.

Change subject: engine : NPE while using reflection for AsyncTask type
......................................................................


engine : NPE while using reflection for AsyncTask type

If the server is restarted before the async task place holder
can be updated with the vdsm id, the async task manager
creates a new async task row with action_type unknown. If
a command is constructed from this data for CommandAsyncTask
VdcActionType Unknown results in no command being found throwing
an exception.

When action_type is unknown, SPMAsync task is constructed instead
of command async task.

Change-Id: Ic186992e1f1d4d6a870b323cc018b6cf3e67645a
Bug-Url: https://bugzilla.redhat.com/1112557
Signed-off-by: Ravi Nori <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/AsyncTaskFactory.java
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Ravi Nori: Verified
  Arik Hadas: Looks good to me, but someone else must approve
  Yair Zaslavsky: Looks good to me, approved
  Oved Ourfali: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/29156
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic186992e1f1d4d6a870b323cc018b6cf3e67645a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to