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

java.lang.IllegalArgumentException: Trying to execute a sync operation with a storage manager for an anonymous account #13323

Closed
devhttps opened this issue Jul 26, 2024 · 5 comments · Fixed by #13440
Assignees
Labels
bug performance: ISE/IAE 😕 Illegal State Exception / Illegal Argument Exception stable-3.29

Comments

@devhttps
Copy link

Cause of error

Exception in thread "Thread-17" java.lang.IllegalArgumentException: Trying to execute a sync operation with a storage manager for an anonymous account
    at com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:49)
    at com.owncloud.android.ui.activity.DrawerActivity.lambda$fetchExternalLinks$9(DrawerActivity.java:1231)
    at com.owncloud.android.ui.activity.DrawerActivity.$r8$lambda$oHM2j1MZkviAIdyIFWoI2kSeF9c(Unknown Source:0)
    at com.owncloud.android.ui.activity.DrawerActivity$$ExternalSyntheticLambda6.run(D8$$SyntheticClass:0)
    at java.lang.Thread.run(Thread.java:1012)

App information

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

Device information

  • Brand: samsung
  • Device: r0q
  • Model: SM-S901E
  • Id: UP1A.231005.007
  • Product: r0qxxx

Firmware

  • SDK: 34
  • Release: 14
  • Incremental: S901EXXS9EXE9
@alperozturk96
Copy link
Collaborator

@devhttps Could you try with v3.29.1?

@devhttps
Copy link
Author

@devhttps Could you try with v3.29.1?

I updated it and it worked.

@joshtrichards joshtrichards mentioned this issue Aug 21, 2024
@joshtrichards joshtrichards changed the title Nextcloud java.lang.IllegalArgumentException: Trying to execute a sync operation with a storage manager for an anonymous account Aug 22, 2024
@joshtrichards joshtrichards added bug stable-3.29 performance: ISE/IAE 😕 Illegal State Exception / Illegal Argument Exception labels Aug 22, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Aug 22, 2024

Version: 30290290

@devhttps Could you try with v3.29.1?

I updated it and it worked.

@alperozturk96 OP was on 3.29.2 already. Were you trying to get them to downgrade and reproduce?

We're getting a lot of 3.29.2 reports on this and I'm unclear whether this is truly fixed in an upcoming release or not. Is there an associated PR?

@alperozturk96
Copy link
Collaborator

alperozturk96 commented Aug 22, 2024

@joshtrichards Please keep mention this PR for other reports, I will also check the other reports. I will create PR for fix asap. Thanks for the mention.

@alperozturk96
Copy link
Collaborator

alperozturk96 commented Aug 22, 2024

@devhttps Could you please check with this PR? I can't able to reproduce this issue in my local dev environment with fresh install and upgrade. It would be great to have your feedback 🙂

@joshtrichards joshtrichards mentioned this issue Oct 25, 2024
This was referenced Nov 5, 2024
This was referenced Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug performance: ISE/IAE 😕 Illegal State Exception / Illegal Argument Exception stable-3.29
Projects
None yet
3 participants