Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

crash when opening drafts #408

Closed
sk22 opened this issue Feb 4, 2023 · 0 comments
Closed

crash when opening drafts #408

sk22 opened this issue Feb 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sk22
Copy link
Owner

sk22 commented Feb 4, 2023

java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
	at org.joinmastodon.android.ui.displayitems.WarningFilteredStatusDisplayItem$Holder.onBind(WarningFilteredStatusDisplayItem.java:44)
	at org.joinmastodon.android.ui.displayitems.WarningFilteredStatusDisplayItem$Holder.onBind(WarningFilteredStatusDisplayItem.java:30)
	at me.grishka.appkit.utils.BindableViewHolder.bind(BindableViewHolder.java:33)
	at org.joinmastodon.android.fragments.BaseStatusListFragment$DisplayItemsAdapter.onBindViewHolder(BaseStatusListFragment.java:646)
	at org.joinmastodon.android.fragments.BaseStatusListFragment$DisplayItemsAdapter.onBindViewHolder(BaseStatusListFragment.java:632)
	at me.grishka.appkit.views.UsableRecyclerView$FooterRecyclerAdapter.onBindViewHolder(UsableRecyclerView.java:432)
	at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7256)
	at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7339)
	at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6197)
	at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6463)
	at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6303)
	at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6299)
	at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2328)
	at androidx.recyclerview.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:571)
	at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1589)
	at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:666)
	at androidx.recyclerview.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:169)
	at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4300)
	at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:4003)
	at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4569)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.FrameLayout.layoutChildren(Unknown Source:160)
	at android.widget.FrameLayout.onLayout(Unknown Source:6)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at androidx.swiperefreshlayout.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:671)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.FrameLayout.layoutChildren(Unknown Source:160)
	at android.widget.FrameLayout.onLayout(Unknown Source:6)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.LinearLayout.setChildFrame(Unknown Source:4)
	at android.widget.LinearLayout.layoutVertical(Unknown Source:184)
	at android.widget.LinearLayout.onLayout(Unknown Source:5)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.FrameLayout.layoutChildren(Unknown Source:160)
	at android.widget.FrameLayout.onLayout(Unknown Source:6)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.FrameLayout.layoutChildren(Unknown Source:160)
	at android.widget.FrameLayout.onLayout(Unknown Source:6)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.FrameLayout.layoutChildren(Unknown Source:160)
	at android.widget.FrameLayout.onLayout(Unknown Source:6)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.LinearLayout.setChildFrame(Unknown Source:4)
	at android.widget.LinearLayout.layoutVertical(Unknown Source:184)
	at android.widget.LinearLayout.onLayout(Unknown Source:5)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.widget.FrameLayout.layoutChildren(Unknown Source:160)
	at android.widget.FrameLayout.onLayout(Unknown Source:6)
	at com.android.internal.policy.DecorView.onLayout(Unknown Source:0)
	at android.view.View.layout(Unknown Source:89)
	at android.view.ViewGroup.layout(Unknown Source:21)
	at android.view.ViewRootImpl.performLayout(Unknown Source:33)
	at android.view.ViewRootImpl.performTraversals(Unknown Source:2580)
	at android.view.ViewRootImpl.doTraversal(Unknown Source:36)
	at android.view.ViewRootImpl$TraversalRunnable.run(Unknown Source:7)
	at android.view.Choreographer$CallbackRecord.run(Unknown Source:20)
	at android.view.Choreographer$CallbackRecord.run(Unknown Source:20)
	at android.view.Choreographer.doCallbacks(Unknown Source:111)
	at android.view.Choreographer.doFrame(Unknown Source:524)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Unknown Source:11)
	at android.os.Handler.handleCallback(Unknown Source:2)
	at android.os.Handler.dispatchMessage(Unknown Source:4)
	at android.os.Looper.loopOnce(Unknown Source:182)
	at android.os.Looper.loop(Unknown Source:82)
	at android.app.ActivityThread.main(Unknown Source:108)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
	at com.android.internal.os.ZygoteInit.main(Unknown Source:312)

@sk22 sk22 added the bug Something isn't working label Feb 4, 2023
@sk22 sk22 closed this as completed in dae347a Feb 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant