I am getting the following NPE  with Gestures (20 % of the time).
Anyone encountering the same issue ?
I am using the code similar to GestureActivityList sample provided at
http://android-developers.blogspot.com/2009/10/gestures-on-android-16.html


E/AndroidRuntime(  919): java.lang.NullPointerException
E/AndroidRuntime(  919):        at android.gesture.Instance.temporalSampler
(Instance.java:91)
E/AndroidRuntime(  919):        at android.gesture.Instance.createInstance
(Instance.java:76)
E/AndroidRuntime(  919):        at android.gesture.GestureStore.recognize
(GestureStore.java:132)
E/AndroidRuntime(  919):        at android.gesture.GestureLibrary.recognize
(GestureLibrary.java:64)
E/AndroidRuntime(  919):        at
com.x.android.y.ZListActivity.onGesturePerformed
(FileManagerListActivity.java:1251)
E/AndroidRuntime(  919):        at
android.gesture.GestureOverlayView.fireOnGesturePerformed
(GestureOverlayView.java:726)
E/AndroidRuntime(  919):        at android.gesture.GestureOverlayView.access
$400(GestureOverlayView.java:53)
E/AndroidRuntime(  919):        at android.gesture.GestureOverlayView
$FadeOutRunnable.run(GestureOverlayView.java:761)
E/AndroidRuntime(  919):        at android.os.Handler.handleCallback
(Handler.java:587)
E/AndroidRuntime(  919):        at android.os.Handler.dispatchMessage
(Handler.java:92)
E/AndroidRuntime(  919):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  919):        at android.app.ActivityThread.main
(ActivityThread.java:4203)
E/AndroidRuntime(  919):        at java.lang.reflect.Method.invokeNative
(Native Method)
E/AndroidRuntime(  919):        at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime(  919):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime(  919):        at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:549)
E/AndroidRuntime(  919):        at dalvik.system.NativeStart.main(Native
Method)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to