Fix getHeading error object for not supported in WP8

Fix issues https://issues.apache.org/jira/browse/CB-6381