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

Persitent Excepituon using the Nextcloud App #14295

Open
janstefan42 opened this issue Jan 2, 2025 · 4 comments
Open

Persitent Excepituon using the Nextcloud App #14295

janstefan42 opened this issue Jan 2, 2025 · 4 comments
Assignees
Labels

Comments

@janstefan42
Copy link

Cause of error

Exception in thread "main" java.lang.RuntimeException: Unable to resume activity {com.nextcloud.client/com.owncloud.android.ui.activity.FileDisplayActivity}: android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=7, totalRows=8
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5390)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5423)
    at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:73)
    at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:63)
    at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:169)
    at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:101)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2719)
    at android.os.Handler.dispatchMessage(Handler.java:109)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8787)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)
Caused by: Exception in thread "main" android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=7, totalRows=8
    at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
    at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1050)
    at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:873)
    at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
    at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:153)
    at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:123)
    at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:269)
    at android.database.AbstractCursor.moveToNext(AbstractCursor.java:301)
    at com.nextcloud.client.database.dao.FileDao_Impl.getFolderContent(FileDao_Impl.java:1974)
    at com.owncloud.android.datamodel.FileDataStorageManager.getFolderContent(FileDataStorageManager.java:942)
    at com.owncloud.android.datamodel.FileDataStorageManager.getFolderContent(FileDataStorageManager.java:229)
    at com.owncloud.android.ui.adapter.OCFileListAdapter.swapDirectory(OCFileListAdapter.java:733)
    at com.owncloud.android.ui.fragment.OCFileListFragment.listDirectory(OCFileListFragment.java:1415)
    at com.owncloud.android.ui.fragment.OCFileListFragment.listDirectory(OCFileListFragment.java:1364)
    at com.owncloud.android.ui.fragment.OCFileListFragment.listDirectory(OCFileListFragment.java:1353)
    at com.owncloud.android.ui.fragment.OCFileListFragment.onActivityCreated(OCFileListFragment.java:427)
    at androidx.fragment.app.Fragment.performActivityCreated(Fragment.java:3161)
    at androidx.fragment.app.FragmentStateManager.activityCreated(FragmentStateManager.java:639)
    at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:289)
    at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2164)
    at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2059)
    at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2002)
    at androidx.fragment.app.FragmentController.execPendingActions(FragmentController.java:496)
    at androidx.fragment.app.FragmentActivity.onResume(FragmentActivity.java:311)
    at com.owncloud.android.ui.activity.BaseActivity.onResume(BaseActivity.java:97)
    at com.owncloud.android.ui.activity.DrawerActivity.onResume(DrawerActivity.java:1085)
    at com.owncloud.android.ui.activity.FileActivity.onResume(FileActivity.java:246)
    at com.owncloud.android.ui.activity.FileDisplayActivity.onResume(FileDisplayActivity.java:1149)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1724)
    at android.app.Activity.performResume(Activity.java:9177)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5380)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5423)
    at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:73)
    at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:63)
    at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:169)
    at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:101)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2719)
    at android.os.Handler.dispatchMessage(Handler.java:109)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8787)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)

App information

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

Device information

  • Brand: google
  • Device: lynx
  • Model: Pixel 7a
  • Id: AP4A.241205.013
  • Product: lynx

Firmware

  • SDK: 35
  • Release: 15
  • Incremental: 12621605
@tobiasKaminsky
Copy link
Member

It seems that you want to show a very big folder.
Can you check via web how big this folder is?

@tobiasKaminsky tobiasKaminsky self-assigned this Jan 7, 2025
@janstefan42
Copy link
Author

It not one big folder.
It's a folder with several subfolders.
In total there are 158 Gb of data in 18672 files.
It's a groupfolder if that makes any difference.

@tobiasKaminsky
Copy link
Member

So the folder itself does not have that much files/subfolders?
Is this happening all the time, or only when resuming the app from background?

@janstefan42
Copy link
Author

The folder itself has about 60 subfolders.
It happens not all the time.
It starts to happen at some time. After that, it happens every time, I start the app. It hat the remove and re-install it.
Maybe it was in the background before, but i cannot say for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants