Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug bug: ClassCastException on HiddenViewHolder#init #3903

Closed
amaze-issue-automation bot opened this issue Aug 11, 2023 · 0 comments · Fixed by #3906
Closed

Debug bug: ClassCastException on HiddenViewHolder#init #3903

amaze-issue-automation bot opened this issue Aug 11, 2023 · 0 comments · Fixed by #3906
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.
Milestone

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager.debug
  • Version: 3.8.5
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 11 - 30
  • Device: Infinix-X6511E
  • Model: Infinix X6511E
  • Product: X6511E-GL
Crash log

`
java.lang.ClassCastException: androidx.appcompat.widget.AppCompatImageView cannot be cast to androidx.appcompat.widget.AppCompatImageButton
at com.amaze.filemanager.adapters.holders.HiddenViewHolder.(HiddenViewHolder.kt:37)
at com.amaze.filemanager.adapters.HiddenAdapter.onCreateViewHolder(HiddenAdapter.kt:68)
at com.amaze.filemanager.adapters.HiddenAdapter.onCreateViewHolder(HiddenAdapter.kt:50)
at androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:7078)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6235)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6118)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6114)
at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2303)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1627)
at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587)
at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665)
at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4134)
at androidx.recyclerview.widget.RecyclerView.onMeasure(RecyclerView.java:3540)
at android.view.View.measure(View.java:25666)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7062)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:25666)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7062)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:842)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:721)
at android.view.View.measure(View.java:25666)
at com.afollestad.materialdialogs.internal.MDRootLayout.onMeasure(MDRootLayout.java:295)
at android.view.View.measure(View.java:25666)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7062)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:25666)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7062)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:842)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:721)
at android.view.View.measure(View.java:25666)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7062)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.DecorView.onMeasure(DecorView.java:747)
at android.view.View.measure(View.java:25666)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3634)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:2424)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2687)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2148)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8575)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1030)
at android.view.Choreographer.doCallbacks(Choreographer.java:840)
at android.view.Choreographer.doFrame(Choreographer.java:772)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1002)

Reporter: HosniFra

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label Aug 11, 2023
VishnuSanal added a commit that referenced this issue Aug 12, 2023
Signed-off-by: VishnuSanal <t.v.s10123@gmail.com>
@VishnuSanal VishnuSanal mentioned this issue Aug 12, 2023
4 tasks
@VishnuSanal VishnuSanal changed the title Crash reported by HosniFra Debug bug: ClassCastException on HiddenViewHolder#init Aug 12, 2023
@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Aug 12, 2023
@VishalNehra VishalNehra added this to the v4.0 milestone Aug 12, 2023
@VishnuSanal VishnuSanal mentioned this issue Aug 13, 2023
4 tasks
TranceLove pushed a commit to TranceLove/AmazeFileManager that referenced this issue Sep 7, 2023
Signed-off-by: VishnuSanal <t.v.s10123@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants