What steps will reproduce the problem?
1.Open Basic Posit on emulator
2.
3.
What is the expected output? What do you see instead?
I've tried reinstalling and re-cloning the application.
The program crashes with the following error:
12-04 20:42:37.538: E/AndroidRuntime(529): FATAL EXCEPTION: main
12-04 20:42:37.538: E/AndroidRuntime(529): java.lang.RuntimeException: Unable
to start service
org.hfoss.posit.android.experimental.api.service.LocationService@40526d50 with
Intent { cmp=org.hfoss.posit.android.experimental/.api.service.LocationService
}: java.lang.NullPointerException
12-04 20:42:37.538: E/AndroidRuntime(529): at
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2052)
12-04 20:42:37.538: E/AndroidRuntime(529): at
android.app.ActivityThread.access$2800(ActivityThread.java:117)
12-04 20:42:37.538: E/AndroidRuntime(529): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:994)
12-04 20:42:37.538: E/AndroidRuntime(529): at
android.os.Handler.dispatchMessage(Handler.java:99)
12-04 20:42:37.538: E/AndroidRuntime(529): at
android.os.Looper.loop(Looper.java:130)
12-04 20:42:37.538: E/AndroidRuntime(529): at
android.app.ActivityThread.main(ActivityThread.java:3683)
12-04 20:42:37.538: E/AndroidRuntime(529): at
java.lang.reflect.Method.invokeNative(Native Method)
12-04 20:42:37.538: E/AndroidRuntime(529): at
java.lang.reflect.Method.invoke(Method.java:507)
12-04 20:42:37.538: E/AndroidRuntime(529): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-04 20:42:37.538: E/AndroidRuntime(529): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-04 20:42:37.538: E/AndroidRuntime(529): at
dalvik.system.NativeStart.main(Native Method)
12-04 20:42:37.538: E/AndroidRuntime(529): Caused by:
java.lang.NullPointerException
12-04 20:42:37.538: E/AndroidRuntime(529): at
org.hfoss.posit.android.experimental.api.database.DbManager.getFindDao(DbManager
.java:733)
12-04 20:42:37.538: E/AndroidRuntime(529): at
org.hfoss.posit.android.experimental.api.database.DbManager.getFindsByProjectId(
DbManager.java:355)
12-04 20:42:37.538: E/AndroidRuntime(529): at
org.hfoss.posit.android.experimental.api.service.LocationService.onStartCommand(
LocationService.java:109)
12-04 20:42:37.538: E/AndroidRuntime(529): at
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2039)
Please use labels and text to provide additional information.
Original issue reported on code.google.com by gordonle...@gmail.com on 5 Dec 2011 at 10:56
Original issue reported on code.google.com by
gordonle...@gmail.com
on 5 Dec 2011 at 10:56