nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.31k stars 1.78k forks source link

Error during uploading Camera folder (80 GB) from smartphone. #13804

Open uninvisible opened 1 month ago

uninvisible commented 1 month ago

Cause of error

Exception in thread "main" java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1186896 bytes
    at android.app.ActivityClient.finishActivity(ActivityClient.java:188)
    at android.app.Activity.finish(Activity.java:7374)
    at android.app.Activity.finish(Activity.java:7391)
    at com.owncloud.android.ui.activity.UploadFilesActivity.onCheckAvailableSpaceFinish(UploadFilesActivity.java:525)
    at com.owncloud.android.ui.asynctasks.CheckAvailableSpaceTask.onPostExecute(CheckAvailableSpaceTask.java:58)
    at com.owncloud.android.ui.asynctasks.CheckAvailableSpaceTask.onPostExecute(CheckAvailableSpaceTask.java:20)
    at android.os.AsyncTask.finish(AsyncTask.java:771)
    at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
    at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
    at android.os.Handler.dispatchMessage(Handler.java:117)
    at android.os.Looper.loopOnce(Looper.java:210)
    at android.os.Looper.loop(Looper.java:302)
    at android.app.ActivityThread.main(ActivityThread.java:9652)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)
Caused by: Exception in thread "main" android.os.TransactionTooLargeException: data parcel size 1186896 bytes
    at android.os.BinderProxy.transactNative(Native Method)
    at android.os.BinderProxy.transact(BinderProxy.java:606)
    at android.app.IActivityClientController$Stub$Proxy.finishActivity(IActivityClientController.java:1632)
    at android.app.ActivityClient.finishActivity(ActivityClient.java:185)
    at android.app.Activity.finish(Activity.java:7374)
    at android.app.Activity.finish(Activity.java:7391)
    at com.owncloud.android.ui.activity.UploadFilesActivity.onCheckAvailableSpaceFinish(UploadFilesActivity.java:525)
    at com.owncloud.android.ui.asynctasks.CheckAvailableSpaceTask.onPostExecute(CheckAvailableSpaceTask.java:58)
    at com.owncloud.android.ui.asynctasks.CheckAvailableSpaceTask.onPostExecute(CheckAvailableSpaceTask.java:20)
    at android.os.AsyncTask.finish(AsyncTask.java:771)
    at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
    at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
    at android.os.Handler.dispatchMessage(Handler.java:117)
    at android.os.Looper.loopOnce(Looper.java:210)
    at android.os.Looper.loop(Looper.java:302)
    at android.app.ActivityThread.main(ActivityThread.java:9652)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)

App information

Device information

Firmware

joshtrichards commented 1 month ago

In theory this was fixed in #13336 and is a duplicate of #10242 but 20241016 contains that fix. Maybe we have a little bit more work to do in onCheckAvailableSpaceFinish().

Cc: @alperozturk96