Skip to content

Crash when opening About section — IllegalStateException (Fragment not attached to context) #1192

@karimen-crypto

Description

@karimen-crypto

Describe the problem

Expected behavior:
The app should open the "About" section without crashing, displaying the information about the app normally.

Actual behavior:
The app crashes with an IllegalStateException (Fragment not attached to a context) when the About fragment is loaded. The crash occurs in a background AsyncTask while trying to access resources (getString()).

How to reproduce

  1. Launch NekoBox for Android (version 1.4.2 / 230).
  2. Navigate to the "About" section (or open the fragment that displays app info).
  3. The app crashes immediately or shortly after the fragment is opened.

Device: Samsung SM-G965F (Android 10, SDK 29)
App version: 1.4.2 (230)

log

Attached separately (log file includes the full stack trace: Fragment AboutContent not attached to a context in AboutFragment$AboutContent.getMaterialAboutList).

NB4A Crash 7423347263502657673.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions