SlidingMenu
SlidingMenu copied to clipboard
Crash with CustomViewAbove.dispatchKeyEvent
I have been getting at crash reports at
CustomViewAbove.java - line 921 com.jeremyfeinstein.slidingmenu.lib.CustomViewAbove.dispatchKeyEvent
Raw Source:
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.ListPopupWindow$DropDownListView.getSelectedItemPosition()' on a null object reference at android.widget.ListPopupWindow.onKeyUp(ListPopupWindow.java:949) at android.widget.AutoCompleteTextView.onKeyUp(AutoCompleteTextView.java:675) at android.view.KeyEvent.dispatch(KeyEvent.java:2633) at android.view.View.dispatchKeyEvent(View.java:8350) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1601) .......... at com.jeremyfeinstein.slidingmenu.lib.CustomViewAbove.dispatchKeyEvent(CustomViewAbove.java:921)... at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:2382) at com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1729) at android.app.Activity.dispatchKeyEvent(Activity.java:2752) at com.actionbarsherlock.app.SherlockFragmentActivity.dispatchKeyEvent(SherlockFragmentActivity.java:121) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2297) at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3995) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3957) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3488) ......at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3515) .... at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5299) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)