question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash report on GrapheneOS/Pixel 4a

See original GitHub issue

Description of the issue

Crash when opening the app

Reproduction Steps

Open the app

Version Information

  • App Version: 1.21.0.2
  • Android Version: GrapheneOS latest stable
  • Device manufacturer: Google
  • Device model: Pixel 4a

Android Log

type: crash
osVersion: google/sunfish/sunfish:13/TP1A.221005.002/2022100300:user/release-keys
package: com.github.catfriend1.syncthingandroid:1210002
process: com.github.catfriend1.syncthingandroid

java.lang.ArrayIndexOutOfBoundsException: length=1; index=2
at com.nutomic.syncthingandroid.util.Util.readableFileSize(Util.java:72)
at com.nutomic.syncthingandroid.views.FoldersAdapter.updateFolderStatusView(FoldersAdapter.java:214)
at com.nutomic.syncthingandroid.views.FoldersAdapter.getView(FoldersAdapter.java:84)
at android.widget.AbsListView.obtainView(AbsListView.java:2398)
at android.widget.ListView.makeAndAddView(ListView.java:2067)
at android.widget.ListView.fillSpecific(ListView.java:1492)
at android.widget.ListView.layoutChildren(ListView.java:1802)
at android.widget.AbsListView.onLayout(AbsListView.java:2195)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at androidx.viewpager.widget.ViewPager.onLayout(ViewPager.java:1775)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at androidx.drawerlayout.widget.DrawerLayout.onLayout(DrawerLayout.java:1231)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:797)
at android.view.View.layout(View.java:23694)
at android.view.ViewGroup.layout(ViewGroup.java:6413)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3911)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3298)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2286)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8948)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
at android.view.Choreographer.doCallbacks(Choreographer.java:899)
at android.view.Choreographer.doFrame(Choreographer.java:832)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7904)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ExecInit.main(ExecInit.java:49)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Iey4iej3commented, Oct 25, 2022

Also solved for me in 1.21.0.3 (LOS 19.1)

0reactions
Catfriend1commented, Oct 21, 2022

😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Graphene OS on Pixel 4 stuck in a loop while booting
So I've been using Graphene OS on Pixel 4a for quite some time now and didn't have any ... the device just crashed...
Read more >
Google Camera and Photos apps are not working anymore ...
Google Photos (used by camera for some functions) stoped working: opening briefly then crashes. Both worked without issues in previous release.
Read more >
GrapheneOS version 2022111800 released - Reddit
TP1A.221105.002.2022111800 (Pixel 4a, Pixel 4a (5G), Pixel 5, Pixel 5a, Pixel 6, Pixel 6 Pro, Pixel 6a, emulator, generic, other targets).
Read more >
I tried completely de-Googled Android — here's what happened
So I put the latter on a Pixel 5 and the former on a Pixel 4a and gave them a shot. ... Between...
Read more >
GrapheneOS - Wikipedia
GrapheneOS is an Android-based, open source, privacy and security-focused mobile operating system for selected Google Pixel smartphones. GrapheneOS ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found