sanyaade-g2g-repos / posit-mobile

Automatically exported from code.google.com/p/posit-mobile
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Having trouble running application on emulator #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Seems fixed by revision 61251b42c397

Original comment by gordonle...@gmail.com on 6 Dec 2011 at 6:15