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.

Description of the issue

It crashes after update to this version in F-Droid.

Reproduction Steps

Version Information

  • App Version: 1.21.0.2
  • Syncthing Version: v1.x.y
  • Android Version: Lineage OS 19.1
  • Device manufacturer:
  • Device model:

Device platform info


Android Log

FATAL EXCEPTION: main
Process: com.github.catfriend1.syncthingandroid, PID: 4194
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.fillDown(ListView.java:793)
	at android.widget.ListView.fillSpecific(ListView.java:1504)
	at android.widget.ListView.layoutChildren(ListView.java:1802)
	at android.widget.AbsListView.onLayout(AbsListView.java:2195)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at androidx.viewpager.widget.ViewPager.onLayout(ViewPager.java:1775)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	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:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at androidx.drawerlayout.widget.DrawerLayout.onLayout(DrawerLayout.java:1231)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
	at android.view.View.layout(View.java:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	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:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	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:23203)
	at android.view.ViewGroup.layout(ViewGroup.java:6412)
	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3755)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3205)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2179)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8793)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)
	at android.view.Choreographer.doCallbacks(Choreographer.java:845)
	at android.view.Choreographer.doFrame(Choreographer.java:780)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:7
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
xz-devcommented, Oct 7, 2022

I confirm it’s fixed in 1.21.0.3.

1reaction
Wijnandcommented, Oct 5, 2022

I immediately switch to the status tab to keep it running.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash when opening an item · Issue #284 · p455w0rds-MC-Mods ...
A detailed walkthrough of the error, its code path and all known details is as follows: ... Ender IO: Found the following problem(s)...
Read more >
game crash - ProMods
The reason why PM 1.97 won't work is that SCS made again changes to the map, so ProMods team is working hard to...
Read more >
Text Products for RVA Issued by PBZ - National Weather Service
... min weather amt gnd equiv Accident Accident East Friendsville Grantsville ... Friendsville (bear c) 1.21 0.2 Grantsville (cslmn r) 0.88 0.2 Confluence ......
Read more >
https://f.hil.su/attachments/crash-2021-03-24_16-2...
Minecraft Crash Report ---- // Don't do that. ... minecraft.jar | None | | LCHIJA | randompatches | 1.12.2-1.21.0.2 | randompatches-1.12.2-1.21.0.2.jar ...
Read more >
Any downsides to using syncthing fork vs syncthing on Android?
Latest version (1.21.0.2) of Syncthing-Fork crashes after a while of app ... the other comments and thankfully I havent had a crash (yet!)...
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