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

Location services being called even when disabled [Emulator specific?] #275

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using an emulator. I disabled the location services in the 
plugins_preferences file.

What steps will reproduce the problem?
1.Start up basic posit
2.Enter in a valid name for the find
3.Save

What is the expected output? What do you see instead?
I expect the find to be saved. But, it seems to be calling some location 
services stuff.

12-06 12:53:47.534: E/AndroidRuntime(442): FATAL EXCEPTION: main
12-06 12:53:47.534: E/AndroidRuntime(442): java.lang.RuntimeException: Unable 
to create service 
org.hfoss.posit.android.experimental.api.service.LocationService: 
java.lang.NullPointerException
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:1955)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
android.app.ActivityThread.access$2500(ActivityThread.java:117)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
android.os.Looper.loop(Looper.java:130)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
android.app.ActivityThread.main(ActivityThread.java:3683)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
java.lang.reflect.Method.invokeNative(Native Method)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
java.lang.reflect.Method.invoke(Method.java:507)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
dalvik.system.NativeStart.main(Native Method)
12-06 12:53:47.534: E/AndroidRuntime(442): Caused by: 
java.lang.NullPointerException
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
org.hfoss.posit.android.experimental.api.service.LocationService.onDestroy(Locat
ionService.java:140)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
org.hfoss.posit.android.experimental.api.service.LocationService.onCreate(Locati
onService.java:85)
12-06 12:53:47.534: E/AndroidRuntime(442):  at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:1945)
12-06 12:53:47.534: E/AndroidRuntime(442):  ... 10 more

Please use labels and text to provide additional information.

Original issue reported on code.google.com by gordonle...@gmail.com on 6 Dec 2011 at 8:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In basic finds with "to-do reminder" function plug-in disabled, I'm able to add 
a find without any errors. In fact, adding a find works with "to-do" enabled as 
well.

Is anyone else experiencing the same problem? Let me know. Please make sure you 
pull the latest version of Posit. Thanks.

Original comment by jiaxian....@gmail.com on 7 Dec 2011 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by gordonle...@gmail.com on 8 Dec 2011 at 7:58

GoogleCodeExporter commented 9 years ago

Original comment by gordonle...@gmail.com on 11 Dec 2011 at 12:54

GoogleCodeExporter commented 9 years ago
Doesn't seem to happen on an actual phone. Error seems to have been fixed. Not 
sure which revision fixed it though.

Original comment by gordonle...@gmail.com on 13 Dec 2011 at 7:01