{"action":"created","issue":{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/145","labels_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/145/comments","events_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/145/events","html_url":"https://github.com/h6ah4i/android-advancedrecyclerview/issues/145","id":115264307,"number":145,"title":"SwipeableItemWrapperAdapter.onViewRecycled crash","user":{"login":"thefex","id":6318401,"avatar_url":"https://avatars.githubusercontent.com/u/6318401?v=3","gravatar_id":"","url":"https://api.github.com/users/thefex","html_url":"https://github.com/thefex","followers_url":"https://api.github.com/users/thefex/followers","following_url":"https://api.github.com/users/thefex/following{/other_user}","gists_url":"https://api.github.com/users/thefex/gists{/gist_id}","starred_url":"https://api.github.com/users/thefex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefex/subscriptions","organizations_url":"https://api.github.com/users/thefex/orgs","repos_url":"https://api.github.com/users/thefex/repos","events_url":"https://api.github.com/users/thefex/events{/privacy}","received_events_url":"https://api.github.com/users/thefex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-05T11:24:05Z","updated_at":"2015-11-05T14:00:09Z","closed_at":null,"body":"My application logged another crash on activity destroy due to AdvancedRecyclerView (SwipeableItemWrapperAdapter.onViewRecycled)\r\n\r\njava.lang.NullPointerException\r\n\tat com.h6ah4i.android.widget.advrecyclerview.swipeable.SwipeableItemWrapperAdapter.onViewRecycled(SwipeableItemWrapperAdapter.java:77)\r\n\tat android.support.v7.widget.RecyclerView$Recycler.dispatchViewRecycled(RecyclerView.java:4912)\r\n\tat android.support.v7.widget.RecyclerView$Recycler.addViewHolderToRecycledViewPool(RecyclerView.java:4678)\r\n\tat android.support.v7.widget.RecyclerView$Recycler.recycleViewHolderInternal(RecyclerView.java:4661)\r\n\tat android.support.v7.widget.RecyclerView.removeAnimatingView(RecyclerView.java:1091)\r\n\tat android.support.v7.widget.RecyclerView.access$6200(RecyclerView.java:144)\r\n\tat android.support.v7.widget.RecyclerView$ItemAnimatorRestoreListener.onAnimationFinished(RecyclerView.java:9541)\r\n\tat android.support.v7.widget.RecyclerView$ItemAnimator.dispatchAnimationFinished(RecyclerView.java:10017)\r\n\tat android.support.v7.widget.SimpleItemAnimator.dispatchRemoveFinished(SimpleItemAnimator.java:252)\r\n\tat com.h6ah4i.android.widget.advrecyclerview.animator.impl.ItemRemoveAnimationManager.dispatchFinished(ItemRemoveAnimationManager.java:54)\r\n\tat com.h6ah4i.android.widget.advrecyclerview.animator.impl.ItemRemoveAnimationManager.dispatchFinished(ItemRemoveAnimationManager.java:24)\r\n\tat com.h6ah4i.android.widget.advrecyclerview.animator.impl.BaseItemAnimationManager$BaseAnimatorListener.onAnimationEnd(BaseItemAnimationManager.java:227)\r\n\tat android.support.v4.view.ViewPropertyAnimatorCompatJB$1.onAnimationEnd(ViewPropertyAnimatorCompatJB.java:47)\r\n\tat android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1030)\r\n\tat android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1056)\r\n\tat android.animation.ValueAnimator.cancel(ValueAnimator.java:969)\r\n\tat android.view.ViewPropertyAnimator.cancel(ViewPropertyAnimator.java:412)\r\n\tat android.support.v4.view.ViewPropertyAnimatorCompatICS.cancel(ViewPropertyAnimatorCompatICS.java:102)\r\n\tat android.support.v4.view.ViewPropertyAnimatorCompat$ICSViewPropertyAnimatorCompatImpl.cancel(ViewPropertyAnimatorCompat.java:462)\r\n\tat android.support.v4.view.ViewPropertyAnimatorCompat.cancel(ViewPropertyAnimatorCompat.java:1049)\r\n\tat com.h6ah4i.android.widget.advrecyclerview.animator.impl.BaseItemAnimationManager.cancelAllStartedAnimations(BaseItemAnimationManager.java:63)\r\n\tat com.h6ah4i.android.widget.advrecyclerview.animator.GeneralItemAnimator.endAnimations(GeneralItemAnimator.java:181)\r\n\tat android.support.v7.widget.RecyclerView.onDetachedFromWindow(RecyclerView.java:2067)\r\n\tat android.view.View.dispatchDetachedFromWindow(View.java:13549)\r\n\tat android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2802)\r\n\tat android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2800)\r\n\tat android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2800)\r\n\tat android.view.ViewGroup.removeViewInternal(ViewGroup.java:4068)\r\n\tat android.view.ViewGroup.removeViewInternal(ViewGroup.java:4041)\r\n\tat android.view.ViewGroup.removeView(ViewGroup.java:3973)\r\n\tat android.support.v4.view.ViewPager.removeView(ViewPager.java:1359)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1178)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1259)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1241)\r\n\tat android.support.v4.app.FragmentManagerImpl.dispatchDestroyView(FragmentManager.java:2084)\r\n\tat android.support.v4.app.Fragment.performDestroyView(Fragment.java:2167)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1152)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1259)\r\n\tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1241)\r\n\tat android.support.v4.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:2090)\r\n\tat android.support.v4.app.FragmentController.dispatchDestroy(FragmentController.java:235)\r\n\tat android.support.v4.app.FragmentActivity.onDestroy(FragmentActivity.java:326)\r\n\tat android.support.v7.app.AppCompatActivity.onDestroy(AppCompatActivity.java:161)\r\n\tat md54090ab44571a8c6cc99872905c9f38e0.BaseMvxActivity_1.n_onDestroy(Native Method)\r\n\tat md54090ab44571a8c6cc99872905c9f38e0.BaseMvxActivity_1.onDestroy(BaseMvxActivity_1.java:46)\r\n\tat android.app.Activity.performDestroy(Activity.java:5631)\r\n\tat android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1123)\r\n\tat android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3787)\r\n\tat android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3818)\r\n\tat android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4018)\r\n\tat android.app.ActivityThread.access$1000(ActivityThread.java:172)\r\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1311)\r\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n\tat android.os.Looper.loop(Looper.java:146)\r\n\tat android.app.ActivityThread.main(ActivityThread.java:5598)\r\n\tat java.lang.reflect.Method.invokeNative(Native Method)\r\n\tat java.lang.reflect.Method.invoke(Method.java:515)\r\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)\r\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)\r\n\tat dalvik.system.NativeStart.main(Native Method)\r\n\r\n\r\nInvestigating issue."},"comment":{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/comments/154064929","html_url":"https://github.com/h6ah4i/android-advancedrecyclerview/issues/145#issuecomment-154064929","issue_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/145","id":154064929,"user":{"login":"thefex","id":6318401,"avatar_url":"https://avatars.githubusercontent.com/u/6318401?v=3","gravatar_id":"","url":"https://api.github.com/users/thefex","html_url":"https://github.com/thefex","followers_url":"https://api.github.com/users/thefex/followers","following_url":"https://api.github.com/users/thefex/following{/other_user}","gists_url":"https://api.github.com/users/thefex/gists{/gist_id}","starred_url":"https://api.github.com/users/thefex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefex/subscriptions","organizations_url":"https://api.github.com/users/thefex/orgs","repos_url":"https://api.github.com/users/thefex/repos","events_url":"https://api.github.com/users/thefex/events{/privacy}","received_events_url":"https://api.github.com/users/thefex/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T14:00:09Z","updated_at":"2015-11-05T14:00:09Z","body":"To reproduce the issue please enable \"Don't keep activities option\" in developer settings + go out and back from application on Activity where you use AdvancedRecyclerView"}}