tobykurien / SherlockNavigationDrawer

Modification of the Android NavigationDrawer sample to use ActionbarSherlock so that we can use the NavigationDrawer on older devices
128 stars 27 forks source link

NullPointerException in android.support.v4.widget.ViewDragHelper.continueSettling #3

Closed vitriolix closed 11 years ago

vitriolix commented 11 years ago

hi, I'm hitting a sporadic crash using your project as a base. I'm not sure where the crash lies as it's happening in the frameworks below my app, hopefully you might have an idea where this might be happening?

I posted a stackoverflow here too:

http://stackoverflow.com/questions/16863327/nullpointerexception-in-android-support-v4-widget-viewdraghelper-continuesettlin

Here's the stacktrace:

FATAL EXCEPTION: main java.lang.NullPointerException at android.support.v4.widget.ViewDragHelper.continueSettling(ViewDragHelper.java:719) at android.support.v4.widget.DrawerLayout.computeScroll(DrawerLayout.java:729) at android.view.View.getDisplayList(View.java:12706) at android.view.View.getDisplayList(View.java:12762) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3201) at android.view.View.getDisplayList(View.java:12654) at android.view.View.getDisplayList(View.java:12762) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3201) at android.view.View.getDisplayList(View.java:12654) at android.view.View.getDisplayList(View.java:12762) at android.view.View.draw(View.java:13491) at android.view.ViewGroup.drawChild(ViewGroup.java:3219) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3089) at android.view.View.getDisplayList(View.java:12716) at android.view.View.getDisplayList(View.java:12762) at android.view.View.draw(View.java:13491) at android.view.ViewGroup.drawChild(ViewGroup.java:3219) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3089) at android.view.View.draw(View.java:13770) at android.widget.FrameLayout.draw(FrameLayout.java:467) at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2396) at android.view.View.getDisplayList(View.java:12718) at android.view.View.getDisplayList(View.java:12762) at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1144) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2301) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2173) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1981) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1131) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4611) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725) at android.view.Choreographer.doCallbacks(Choreographer.java:555) at android.view.Choreographer.doFrame(Choreographer.java:525) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4898) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775) at dalvik.system.NativeStart.main(Native Method)

vitriolix commented 11 years ago

I assume this isn't a bug in your app, I mostly posted just to see if you have seen this. Probably should have just emailed instead.

budius commented 10 years ago

hey. Maybe you want to check this out regarding this bug:

https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=60671