coverity#1158199 Dereference null return value

Change-Id: I87c5193ed4a605e85bb57bd0991725202c871966
coverity#1158196 Dereference null return value

Change-Id: Ic2125631e1986f851296406e91f3cf89bd982915
1158273 Uncaught exception

Change-Id: I3983da2d585762d81446902a710e9a97c6354669
coverity#1158380 Uncaught exception

Change-Id: I5bd8f6e3e4c0b6baf3b0333c2dd8d3f03bf59983
coverity#1157769 Logically dead code

Change-Id: I48b83a8fba756ad44f9b823357f3fdd42a297430