brilianN / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

Shopping list pick location crashes #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open shopping list
2. Menu / Add alert
3. Button "Pick a location"

What is the expected output? What do you see instead?
Application crashes

Please use labels and text to provide additional information.

* Provider "mock" unknown
org.openintents.locations.LocationsView.setTestLocation
(LocationsView.java:317)

-----------
 09-02 22:44:22.536: ERROR/AndroidRuntime(243): Uncaught handler: thread 
main exiting due to uncaught exception
09-02 22:44:22.546: ERROR/AndroidRuntime(243): java.lang.RuntimeException: 
Unable to start activity ComponentInfo
{org.openintents/org.openintents.locations.LocationsView}: 
java.lang.IllegalArgumentException: Provider "mock" unknown
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2131)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2147)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.app.ActivityThread.access$1800(ActivityThread.java:112)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1572)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.os.Handler.dispatchMessage(Handler.java:88)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.os.Looper.loop(Looper.java:123)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.app.ActivityThread.main(ActivityThread.java:3708)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
java.lang.reflect.Method.invokeNative(Native Method)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
java.lang.reflect.Method.invoke(Method.java:492)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:734)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:492)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
dalvik.system.NativeStart.main(Native Method)
09-02 22:44:22.546: ERROR/AndroidRuntime(243): Caused by: 
java.lang.IllegalArgumentException: Provider "mock" unknown
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.os.Parcel.readException(Parcel.java:1070)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.os.Parcel.readException(Parcel.java:1054)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.location.ILocationManager$Stub$Proxy.setTestProviderLocation
(ILocationManager.java:779)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.location.LocationManager.setTestProviderLocation
(LocationManager.java:894)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
org.openintents.locations.LocationsView.setTestLocation
(LocationsView.java:317)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
org.openintents.locations.LocationsView.getCurrentLocation
(LocationsView.java:337)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
org.openintents.locations.LocationsView.fillData(LocationsView.java:191)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
org.openintents.locations.LocationsView.onCreate(LocationsView.java:152)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1121)
09-02 22:44:22.546: ERROR/AndroidRuntime(243):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2094)

Original issue reported on code.google.com by peli0...@googlemail.com on 2 Sep 2008 at 10:48

GoogleCodeExporter commented 9 years ago
Here is some mock location provider posted:
http://groups.google.com/group/android-developers/browse_frm/thread/dc1b48558c17
6d80#

Unless there is some quick fix for this crash, the feature should probably be 
moved 
to 0.9.1.

Original comment by peli0...@googlemail.com on 3 Sep 2008 at 6:48

GoogleCodeExporter commented 9 years ago

Original comment by friedger@gmail.com on 4 Sep 2008 at 7:06

GoogleCodeExporter commented 9 years ago

Original comment by friedger@gmail.com on 4 Sep 2008 at 8:23