Skip to content

Bug report #277

@guguss-31

Description

@guguss-31

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed.
  • I have taken the time to fill in all the required details in an appropriate descriptive way. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.

Affected app version

2.4.0

Steps to reproduce the bug

  1. Go to Diagnostics
  2. Click on "Run Diagnostics"

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

No response

Logs

----------Start of crash----------
Package: com.drnoob.datamonitor
Build type: release
Version code: 29
Version: v2.4.0
Thread name: main
Thread stacktrace: [dalvik.system.VMStack.getThreadStackTrace(Native Method),
java.lang.Thread.getStackTrace(Thread.java:1960),
k4.b.uncaughtException(CrashReporter.java:91),
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1071),
java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1066),
java.lang.Thread.dispatchUncaughtException(Thread.java:2442)]
Crash message: Fragment NetworkDiagnosticsFragment{c833631} (3f64f3b4-406f-4680-b478-447d6c69d21d) not attached to a context.

----------Crash logs----------
java.lang.IllegalStateException: Fragment NetworkDiagnosticsFragment{c833631} (3f64f3b4-406f-4680-b478-447d6c69d21d) not attached to a context.
at androidx.fragment.app.Fragment.requireContext(Fragment.java:18)
at com.drnoob.datamonitor.ui.fragments.NetworkDiagnosticsFragment$a$b.a(NetworkDiagnosticsFragment.java:5)
at b3.g$b.run(ExecutorDelivery.java:36)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:342)
at android.app.ActivityThread.main(ActivityThread.java:9634)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:619)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)

----------Device info----------
Device Manufacturer: samsung
Device Brand: samsung
Device Model: SM-G991B
Device Codename: o1sxeea
Android version: 15, 35

Affected Android/Custom ROM version

OneUI 7

Affected device model

Samsung Galaxy S21

Additional context

I tried a lot of times but diagnostics doesn't work.

The app says :

  • Could not connect.
    Please ensure you are connected to the Internet.

Or :

  • An error occurred with your deployment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions