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

Exception after main directory change #14688

Open
4 tasks done
brezelman opened this issue Mar 15, 2025 · 0 comments · May be fixed by #14714
Open
4 tasks done

Exception after main directory change #14688

brezelman opened this issue Mar 15, 2025 · 0 comments · May be fixed by #14714
Assignees
Labels

Comments

@brezelman
Copy link

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Change local main dir in settings
  2. switch to other app
  3. switch back

something like that.

Cause of error

Exception in thread "Thread-315" java.lang.IllegalStateException: Fragment FileDetailActivitiesFragment{87021fa} (fbd64751-66b8-43a5-b4b2-bc57e10cd5db) not attached to a context.
    at androidx.fragment.app.Fragment.requireContext(Fragment.java:977)
    at com.owncloud.android.ui.fragment.FileDetailActivitiesFragment.lambda$fetchAndSetData$6(FileDetailActivitiesFragment.java:335)
    at com.owncloud.android.ui.fragment.FileDetailActivitiesFragment.$r8$lambda$fzpi7kO8PpXaUSSQob84vDVuOjs(Unknown Source:0)
    at com.owncloud.android.ui.fragment.FileDetailActivitiesFragment$$ExternalSyntheticLambda5.run(D8$$SyntheticClass:0)
    at java.lang.Thread.run(Thread.java:1012)

App information

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

Device information

  • Brand: Fairphone
  • Device: FP4
  • Model: FP4
  • Id: TKQ1.230127.002
  • Product: FP4eea

Firmware

  • SDK: 33
  • Release: 13
  • Incremental: TP2P

Expected behaviour

  • no exception.
  • Main dir switched.

Actual behaviour

exception.

Android version

13

Device brand and model

Fairphone 4

Stock or custom OS?

Stock

Nextcloud android app version

3.31.0

Nextcloud server version

30.0.6.2

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

Additional information

No response

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