Crash on Timber Viewer
devindi opened this issue · 3 comments
devindi commented
Hi guys
Thank you for great tool, it helps me and QA daily.
Today I got a crash at adapter
Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=200; index=999
at com.willowtreeapps.hyperion.timber.model.CircularBuffer.getItem(CircularBuffer.java:54)
at com.willowtreeapps.hyperion.timber.list.TimberLogListAdapter.onBindViewHolder(TimberLogListAdapter.java:31)
at com.willowtreeapps.hyperion.timber.list.TimberLogListAdapter.onBindViewHolder(TimberLogListAdapter.java:13)
at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6781)
at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6823)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5752)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6019)
at androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:286)
at androidx.recyclerview.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:343)
at androidx.recyclerview.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:359)
at androidx.recyclerview.widget.GapWorker.prefetch(GapWorker.java:366)
at androidx.recyclerview.widget.GapWorker.run(GapWorker.java:397)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
ToxicBakery commented
Did you modify the log buffer limit per the readme? Wondering how you get an index of 999 in your adapter but the buffer was at the default limit.
devindi commented
No, I use viewer with default configuration. Version is 0.9.27