Im try to use Sybase Unwired Platform with generated code for Android. I have exception in folowing code:
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Application app = Application.getInstance();
String AppName = "timesheets";
if (app.getApplicationIdentifier() == null)
app.setApplicationIdentifier(AppName);
if (app.getApplicationContext() == null)
app.setApplicationContext(this); //Place where app crashes
Debug window look like
All crashes after begining of execution of that line:
Why it crashed?