Automattic / Automattic/simplenote-android

IllegalStateException: Fragment NoteListFragment{25f95e6} (3eef094f-d6b3-43ae-889d-5633e8a2996b) not attached to an acti...

Open
#1,701 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
318
Avg merge
15h 23m
Merged PRs (30d)
5

Description

Sentry Issue: [SIMPLENOTE-ANDROID-3BA](https://a8c.sentry.io/issues/2604056921/?referrer=github_integration)

```
IllegalStateException: Fragment NoteListFragment{25f95e6} (3eef094f-d6b3-43ae-889d-5633e8a2996b) not attached to an activity.
at com.automattic.simplenote.NoteListFragment.refreshList(NoteListFragment.java:593)
at com.automattic.simplenote.NoteListFragment.refreshList(NoteListFragment.java:582)
at com.automattic.simplenote.NotesActivity$17.run(NotesActivity.java:1782)
...
(6 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Research direction

Start in NoteListFragment.java around refreshList at lines 582 and 593, then trace the caller in NotesActivity.java around line 1782. Reproduce or inspect the lifecycle path that runs refreshList after the fragment is detached; done means this Sentry IllegalStateException no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.