Operation NULL parameter handle

Change-Id: I9af2f68a6d45550bc7d1038a2eab507948effad7
Signed-off-by: TanelDettenborn <tanel.dettenborn@intel.com>
Various bug fixes

Change-Id: I4738876052ed29616b54560188091e50eabc8ecb
Signed-off-by: TanelDettenborn <tanel.dettenborn@intel.com>