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

Crash when switching tabs #412

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

Crash when switching tabs #412

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

Comments

@sk22
Copy link
Owner

sk22 commented Feb 6, 2023

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.removeView(android.view.View)' on a null object reference
	at org.joinmastodon.android.fragments.HomeTabFragment$HomePagerAdapter.onCreateViewHolder(HomeTabFragment.java:665)
	at org.joinmastodon.android.fragments.HomeTabFragment$HomePagerAdapter.onCreateViewHolder(HomeTabFragment.java:660)
	at androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:7297)
	at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6419)
	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.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1629)
	at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1589)
	at androidx.recyclerview.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1393)
	at androidx.recyclerview.widget.LinearLayoutManager.scrollHorizontallyBy(LinearLayoutManager.java:1122)
	at androidx.recyclerview.widget.RecyclerView.scrollStep(RecyclerView.java:1962)
	at androidx.recyclerview.widget.RecyclerView$SmoothScroller.onAnimation(RecyclerView.java:12321)
	at androidx.recyclerview.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:5567)
	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:511)
	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 6, 2023
@sk22 sk22 closed this as completed in 50029c7 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