Skip to content

fix(ocfile): unsupported operation shares - #17383

Merged
alperozturk96 merged 7 commits into
masterfrom
fix/unsupported-operation-oc-file
Aug 5, 2026
Merged

fix(ocfile): unsupported operation shares#17383
alperozturk96 merged 7 commits into
masterfrom
fix/unsupported-operation-oc-file

Conversation

@alperozturk96

Copy link
Copy Markdown
Collaborator

Issue

Exception in thread "main"
java.lang.Unsupported OperationException java.util.AbstractList.add(AbstractList.java:155)
at
at java.util.AbstractList.add(AbstractList.java:113)
at
com.owncloud.android.ui.adapter.OCFileListAdapter. bindListItemViewHolder(OCFileListAdapter.java:613)
at com.owncloud.android.ui.adapter.OCFileListAd apter.bindHolder(OCFileListAdapter.java:504)
at com.owncloud.android.ui.adapter.OCFileListAd apter.onBindViewHolder(OCFileListAdapter.java:492)
at androidx.recyclerview.widget.RecyclerView$Ada pter.onBindViewHolder(RecyclerView.java:7747)
at
com.owncloud.android.ui.adapter.OCFileListAdapter. onBindViewHolder(OCFileListAdapter.java:1097)
at androidx.recyclerview.widget.RecyclerView$Ada pter.bindViewHolder(RecyclerView.java:7847)
at androidx.recyclerview.widget.RecyclerView$Rec ycler.tryBindViewHolderByDeadline(RecyclerView.jav
a:6646)
at androidx.recyclerview.widget.RecyclerView$Rec
ycler.tryGetViewHolderForPosition By Deadline(Recycl
erView.java:6917)
at androidx.recyclerview.widget.RecyclerView$Rec
ycler.getViewForPosition (RecyclerView.java:6757)
at androidx.recyclerview.widget.RecyclerView$Rec ycler.getViewForPosition(RecyclerView.java:6753)
at
androidx.recyclerview.widget.LinearLayoutManager$ LayoutState.next(LinearLayoutManager.java:2362) at androidx.recyclerview.widget.LinearLayoutMana ger.layoutChunk(LinearLayoutManager.java:1662) at androidx.recyclerview.widget.LinearLayoutMana
ger.fill(LinearLayoutManager.java:1622)
at
androidx.recyclerview.widget.LinearLayoutManager. onLayoutChildren(LinearLayoutManager.java:687)
at androidx.recyclerview widget.RecyclerView.disp atchLayout Step2 (RecyclerView.java:4645)
at androidx recyclerview widget RecyclerView disp.

@alperozturk96

Copy link
Copy Markdown
Collaborator Author

/backport to stable-34.1.x

@github-actions

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/30267615489/artifacts/8655641564
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@github-actions

Copy link
Copy Markdown

@alperozturk96
alperozturk96 force-pushed the fix/unsupported-operation-oc-file branch from 9174089 to 8a5c166 Compare August 4, 2026 08:18
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/30891436307/artifacts/8886269391
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96
alperozturk96 force-pushed the fix/unsupported-operation-oc-file branch from 8a5c166 to e6652f8 Compare August 5, 2026 06:25
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3232
Correctness6464
Dodgy code217217
Experimental11
Malicious code vulnerability22
Multithreaded correctness2525
Performance4040
Security1919
Total400400

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/30983042063/artifacts/8922009252
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@alperozturk96
alperozturk96 merged commit f68b6b4 into master Aug 5, 2026
19 of 23 checks passed
@alperozturk96
alperozturk96 deleted the fix/unsupported-operation-oc-file branch August 5, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant