Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Crash when opening "Activities"

Open Beginner friendly
#14,991 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
android, java
Domain
mobile

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

0. Needs triage bug
⚠️ 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
  1. Install app and register with Nextcloud server (in my case. https://uni-bonn.sciebo.de ).
  2. 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

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/android

All issues in nextcloud/android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.