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

Stacktrace: ScrollView can host only one direct child #13003

Open
4 tasks done
pafontai opened this issue May 12, 2024 · 0 comments
Open
4 tasks done

Stacktrace: ScrollView can host only one direct child #13003

pafontai opened this issue May 12, 2024 · 0 comments
Labels
bug performance: ISE/IAE 😕 Illegal State Exception / Illegal Argument Exception Version/3029

Comments

@pafontai
Copy link

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

I've just updated nextcloud android to thé latest version.
When i connect to m'y personal server I get stacktrace
Server : 28.0.3

Cause of error

Exception in thread "main" java.lang.IllegalStateException: ScrollView can host only one direct child
    at android.widget.ScrollView.addView(ScrollView.java:589)
    at com.google.android.material.snackbar.BaseTransientBottomBar$SnackbarBaseLayout.addToTargetParent(BaseTransientBottomBar.java:1344)
    at com.google.android.material.snackbar.BaseTransientBottomBar.showView(BaseTransientBottomBar.java:783)
    at com.google.android.material.snackbar.BaseTransientBottomBar$1.handleMessage(BaseTransientBottomBar.java:262)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8751)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

App information

  • ID: com.nextcloud.client
  • Version: 30290090
  • Build flavor: gplay

Device information

  • Brand: samsung
  • Device: r8q
  • Model: SM-G781B
  • Id: SP1A.210812.016
  • Product: r8qxeea

Firmware

  • SDK: 31
  • Release: 12
  • Incremental: G781BXXS4FVK1

Expected behaviour

Open m'y servira nextcloud dashboard

Actual behaviour

Briefly flashing welcome screen and then stacktrace

Android version

12

Device brand and model

Samsung galaxy S20 FE 5G

Stock or custom OS?

Stock

Nextcloud android app version

Unable to open

Nextcloud server version

28.0.3

Using a reverse proxy?

Yes

Android logs

Phone not rooted

Server error logs

### Cause of error

Exception in thread "main" java.lang.IllegalStateException: ScrollView can host only one direct child
    at android.widget.ScrollView.addView(ScrollView.java:589)
    at com.google.android.material.snackbar.BaseTransientBottomBar$SnackbarBaseLayout.addToTargetParent(BaseTransientBottomBar.java:1344)
    at com.google.android.material.snackbar.BaseTransientBottomBar.showView(BaseTransientBottomBar.java:783)
    at com.google.android.material.snackbar.BaseTransientBottomBar$1.handleMessage(BaseTransientBottomBar.java:262)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8751)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)



### App information
* ID: `com.nextcloud.client`
* Version: `30290090`
* Build flavor: `gplay`

### Device information
* Brand: `samsung`
* Device: `r8q`
* Model: `SM-G781B`
* Id: `SP1A.210812.016`
* Product: `r8qxeea`

### Firmware
* SDK: `31`
* Release: `12`
* Incremental: `G781BXXS4FVK1`

Additional information

No response

@pafontai pafontai added the bug label May 12, 2024
@joshtrichards joshtrichards added performance: ISE/IAE 😕 Illegal State Exception / Illegal Argument Exception Version/3029 labels May 16, 2024
@joshtrichards joshtrichards changed the title Stacktrace on android after connection whereas authorization Ok Stacktrace: ScrollView can host only one direct child May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug performance: ISE/IAE 😕 Illegal State Exception / Illegal Argument Exception Version/3029
Projects
None yet
Development

No branches or pull requests

2 participants