Crash when opening "Activities"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at com.owncloud.android.lib.resources.activities.GetActivitiesRemoteOperation.java line 117, then follow the ActivitiesServiceApiImpl activity-loading path. Reproduce by opening Activities with the reported server and verify that the large activity value no longer crashes the app and that Activities can be displayed.
Written by the indexing model from the issue text.
Description
⚠️ 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
- Install app and register with Nextcloud server (in my case. https://uni-bonn.sciebo.de ).
- Open up "Activities" in the app (or click on a push notification leading you there).
Expected behaviour
Activities should be shown like in web or desktop client.
Actual behaviour
Crash with trace below.
Android version
16
Device brand and model
Google Pixel 9 (tokay)
Stock or custom OS?
Stock
Nextcloud android app version
3.31.4
Nextcloud server version
Version 29.0.15 Enterprise
Using a reverse proxy?
No
Android logs
Crash log shown by app itself:
Cause of error
Exception in thread "AsyncTask #2" java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:415)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:434)
at java.util.concurrent.FutureTask.setException(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:322)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
Caused by: Exception in thread "AsyncTask #2" java.lang.NumberFormatException: For input string: "3646423948"
at java.lang.Integer.parseInt(Integer.java:781)
at java.lang.Integer.parseInt(Integer.java:897)
at com.owncloud.android.lib.resources.activities.GetActivitiesRemoteOperation.run(GetActivitiesRemoteOperation.java:117)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:208)
at com.owncloud.android.ui.activities.data.activities.ActivitiesServiceApiImpl$GetActivityListTask.doInBackground(ActivitiesServiceApiImpl.java:87)
at com.owncloud.android.ui.activities.data.activities.ActivitiesServiceApiImpl$GetActivityListTask.doInBackground(ActivitiesServiceApiImpl.java:53)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
App information
- ID:
com.nextcloud.client - Version:
30310490 - Build flavor:
gplay
Device information
- Brand:
google - Device:
tokay - Model:
Pixel 9 - Id:
BP2A.250605.031.A2 - Product:
tokay
Firmware
- SDK:
36 - Release:
16 - Incremental:
13578606
Server error logs
Additional information
No response
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 139
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/android
-
Modification time is not preserved when uploading MediaStore content via Android sharePossibly taken @alperozturk96 claimed this 11 days ago. Open3. to review bug feature: transfers
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nextcloud/android#17675 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
0. Needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nextcloud/android#17533 · 1 comment ·
Maintainers usually reply within 1 day
-
RC 34.1.0-01: Duplicated wording in creation menu — "New" prefix + creator name produces "New New document" ("Neu Neues Dokument")Possibly taken @ChristianTannheimer claimed this 77 days ago. Open0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
0. Needs triage enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
All issues in nextcloud/android
Similar issues
-
area/docs
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nightscout/AndroidAPS#5199 · 2 comments ·
Maintainers usually reply within 1 day
-
edi-adapter-client enhancement helsemelding-edi-adapter
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
navikt/helsemelding-edi-adapter#102 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 68/100
oblador/react-native-keychain#818 ·