nextcloud / nextcloud/android

Crash when entering folder

Open
#17,252 1 comment 0 reactions 1 assignee Claimed by @alperozturk96 View on GitHub
bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

Enter folder with files or create folder or scroll through it.

### Expected behaviour

Won't crash

### Actual behaviour

Crash with java oom

### Android version

16

### Device brand and model

Oneplus 13

### Stock or custom OS?

Stock

### Nextcloud android app version

34.0.1

### Nextcloud server version

Latest

### Using a reverse proxy?

Yes

### Android logs

### Cause of error
```java
Exception in thread "main" java.lang.OutOfMemoryError: Failed to allocate a 16 byte allocation with 660864 free bytes and 645KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at java.lang.Float.valueOf(Float.java:540)
at android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.getAnimatedValue(PropertyValuesHolder.java:1359)
at android.animation.ValueAnimator.getAnimatedValue(ValueAnimator.java:961)
at com.elyeproj.loaderviewlibrary.LoaderController.onAnimationUpdate(LoaderController.java:136)
at android.animation.Animator$AnimatorCaller.lambda$static$4(Animator.java:974)
at android.animation.Animator$AnimatorCaller$$ExternalSyntheticLambda6.call(D8$$SyntheticClass:0)
at android.animation.Animator.callOnList(Animator.java:785)
at android.animation.ValueAnimator.animateValue(ValueAnimator.java:1769)
at android.animation.ValueAnimator.animateBasedOnTime(ValueAnimator.java:1484)
at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1665)
at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:424)
at android.animation.AnimationHandler.-$$Nest$mdoAnimationFrame(Unknown Source:0)
at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:120)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1875)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1886)
at android.view.Choreographer.doCallbacks(Choreographer.java:1398)
at android.view.Choreographer.doFrame(Choreographer.java:1246)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1860)
at android.os.Handler.handleCallback(Handler.java:1001)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loopOnce(Looper.java:306)
at android.os.Looper.loop(Looper.java:416)
at android.app.ActivityThread.main(ActivityThread.java:9999)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:613)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)

```

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

### Device information
* Brand: `OnePlus`
* Device: `OP5D55L1`
* Model: `CPH2653`
* Id: `BP2A.250605.015`
* Product: `CPH2653EEA`

### Firmware
* SDK: `36`
* Release: `16`
* Incremental: `V.R4T3.26073a0-1df561-1f78cb`

### Server error logs

```bash

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.