SAP Knowledge Base Article - Preview

2254896 - NullPointerException when reopen data vault in OData SDK application - SMP

Symptom

Using the "How To On-board users with SMP 3.0 OData SDK (Android)" code sample the creation of the store works fine  and the device can be registered
but after an application restart (with removing the rest of the old application lifecycle) the store is available but closed.
"createStore" is not called and the code above tries lgCore.unlockStore.
This leads to the following null pointer exception: "Caused by: java.lang.NullPointerException at java.lang.String.<(><<)>init>(String.java:228)..."


Read more...

Environment

  • SAP Mobile Platform (SMP) 3.0 SP09 PL04
  • SAP Mobile Platform (SMP) SDK 3.0 SP10 PL07
  • Android (minSDK: 16, maxSDK: 19)

Product

SAP Mobile Platform 2.3 ; SAP Mobile Platform 3.0 ; SAP Mobile Platform SDK 2.3 ; SAP Mobile Platform SDK 3.0

Keywords

KBA , MOB-SDK-ODP , SAP Mobile SDK Odata SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.