Apollo: fix npe when there is no data in the errorelement.

PS5: fix a regression which causes a crash elsewhere.
Change-Id: Ib1464e8ca0e1f61533ce0b0cd172accc21c21ce0
Jira: CYAN-2839
Merge branch 'cm-11.0' into kk_mkt