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

Cards never getting created #1727

Open
4 of 7 tasks
suly520 opened this issue Jan 29, 2025 · 1 comment
Open
4 of 7 tasks

Cards never getting created #1727

suly520 opened this issue Jan 29, 2025 · 1 comment

Comments

@suly520
Copy link

suly520 commented Jan 29, 2025

This issue respects the following points:

Describe the bug

General:
I am logged in to my nextcloud account. Deck APK 1.24.5 (same with 1.24.1) is installed. Deck cards are correctly loaded and visible within the deck apk.

Problem description:
When I try to create a deck using the APK it gets stuck in the add card context forever withou(I cancelled after 15 minutes)

Image

Steps:

  1. Install app
  2. Select user
  3. Import decks
  4. Open any deck
  5. Click on "+" (add card)
  6. Insert some name
  7. Press edit OR save

Additional:
When I try to create a board using APK I get a synchronization failed error and a log output. I already saw a similar issue (#1307) to this but maybe it is also related to my "create card issue". Find log attached.

Expected behavior

Card creation
The cards is created or I get an error description, timeout error, or some information why the card is not able to be created.

Deck creation
Deck gets created and is accessable

Deck Android version

1.24.5

Deck server version

1.14.3

Nextcloud Android version

3.30.8

Nextcloud version

30.0.5

Device

Xiaomi 13

Android Version

15

App Store

  • Google Play Store
  • Google Play Store (Beta channel)
  • F-Droid
  • Huawei App Gallery

Stacktrace

App Version: 1.24.5
App Version Code: 1024005
Server App Version: 1.14.3
App Flavor: fdroid

Files App Version Code: 30300890 (com.nextcloud.android.sso.model.FilesAppType@65897f3)

---

OS Version: 5.15.148-android13-8-00004-ge488687c12ef-ab11838684(OS2.0.2.0.VMCEUXM)
OS API Level: 35
Device: fuxi
Manufacturer: Xiaomi
Model (and Product): 2211133G (fuxi_eea)

---

java.lang.IllegalStateException: Owner is null. This can be the case if the Deck app has never before been opened in the webinterface
	at it.niedermann.nextcloud.deck.repository.SyncRepository.lambda$createBoard$7(SyncRepository.java:351)
	at it.niedermann.nextcloud.deck.repository.SyncRepository.$r8$lambda$Jsqb4qpFhMo5awS5L6i_NN3tSnM(Unknown Source:0)
	at it.niedermann.nextcloud.deck.repository.SyncRepository$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
	at it.niedermann.nextcloud.deck.util.ExecutorServiceProvider$RetryableRunnable.run(ExecutorServiceProvider.java:66)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:487)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)

@desperateCoder
Copy link
Collaborator

desperateCoder commented Jan 31, 2025

Hi @suly520, thanks for your report!

I'd suggest analyzing this top-down: I think the Owner is null part is the topmost problem here, so lets have a look:

Can you please try it with the following DEV version: ʕっ•ᴥ•ʔっ zipped APK download
How to use the DEV version

I enhanced the logs so it shows what user should be the expected owner and what users are known to the database. (if you post it here: redact names if needed)

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

No branches or pull requests

2 participants