Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Crash on Exception: java.lang.IndexOutOfBoundsException during a search in the users directory #721

Open
giomfo opened this issue Aug 30, 2021 · 0 comments
Labels
android bug Something isn't working

Comments

@giomfo
Copy link
Contributor

giomfo commented Aug 30, 2021

--------------------------------- crash call stack ---------------------------------
Tchap Build : 79
Tchap Version : 1.2.1_a (G-4d9e6aa67-2021-04-02 13:34:25 +0200)
SDK Version : 0.9.37-dev (68165b6d-2020-12-09 16:15:52 +0100)
Phone : W-K610-EEA (08181044 11 REL)
Memory statuses
usedSize 11 MB
freeSize 1 MB
totalSize 13 MB
Thread: main, Activity:im.vector.activity.VectorHomeActivity, Exception: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionContactViewHolder{77eadb7 position=3 id=-1, oldPos=3, pLpos:-1 scrap [attachedScrap] tmpDetached not recyclable(1) no parent} androidx.recyclerview.widget.RecyclerView{36961f9 VFED..... ......ID 0,0-720,1168 #7f090318 app:id/recyclerview}, adapter:fr.gouv.tchap.adapters.TchapContactAdapter@f4ec53e, layout:androidx.recyclerview.widget.LinearLayoutManager@970f9f, context:im.vector.activity.VectorHomeActivity@40425aa
at androidx.recyclerview.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:5974)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6158)
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.dispatchLayoutStep1(RecyclerView.java:4085)
at androidx.recyclerview.widget.RecyclerView.onMeasure(RecyclerView.java:3534)
at android.view.View.measure(View.java:25645)
at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735)
at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481)
at android.view.View.measure(View.java:25645)
at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735)
at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481)
at android.view.View.measure(View.java:25645)
at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735)
at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481)
at android.view.View.measure(View.java:25645)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7026)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:25645)
at androidx.constraintlayout.widget.ConstraintLayout.onMeasure(ConstraintLayout.java:1676)
at android.view.View.measure(View.java:25645)
at androidx.drawerlayout.widget.DrawerLayout.onMeasure(DrawerLayout.java:1119)
at android.view.View.measure(View.java:25645)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7026)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
at android.view.View.measure(View.java:25645)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7026)
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:25645)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7026)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:25645)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7026)
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:25645)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7026)
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:25645)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3524)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:2313)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2576)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2037)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8435)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:974)
at android.view.Choreographer.doCallbacks(Choreographer.java:797)
at android.view.Choreographer.doFrame(Choreographer.java:732)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:959)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:230)
at android.app.ActivityThread.main(ActivityThread.java:7700)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)

User-Agent: "Tchap/1.2.1_a (Linux; U; Android 11; W-K610-EEA Build/RP1A.200720.01; Flavour appAgentWithoutvoipWithpinning; MatrixAndroidSDK 0.9.37-dev)"
Version: "1.2.1_a (G-4d9e6aa67-2021-04-02 13:34:25 +0200)"
app_language: "fr_FR"
branch_name: "tags/tchap_v1.2.1^0"
default_app_language: "fr_FR"
device: "W-K610-EEA"
device_id: "UDKMRJOCLI"
lazy_loading: "ON"
locale: "fr_FR"
matrix_sdk_version: "0.9.37-dev (68165b6d-2020-12-09 16:15:52 +0100)"
multi_window: "OFF"
olm_version: "3.1.2 - olm version (3.1.2) - a18a4e8-2019-05-20 21:39:54 +0100"
os: "11 (API 30) 08181044-REL"

@giomfo giomfo added bug Something isn't working android labels Aug 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant