java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) } in de.qabel.qabelbox.communication.connection.ConnectivityManager$1@22ee25b8

GitHub | audax | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Null pointer in Connectility Manager

    GitHub | 5 months ago | audax
    java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) } in de.qabel.qabelbox.communication.connection.ConnectivityManager$1@22ee25b8

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isConnected()' on a null object reference

      at de.qabel.qabelbox.communication.connection.ConnectivityManager.isConnected()
    2. de.qabel.qabelbox
      ConnectivityManager$1.onReceive
      1. de.qabel.qabelbox.communication.connection.ConnectivityManager.isConnected(ConnectivityManager.java:43)
      2. de.qabel.qabelbox.communication.connection.ConnectivityManager$1.onReceive(ConnectivityManager.java:17)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:866)
      2. android.os.Handler.handleCallback(Handler.java:739)
      3. android.os.Handler.dispatchMessage(Handler.java:95)
      4. android.os.Looper.loop(Looper.java:135)
      5. android.app.ActivityThread.main(ActivityThread.java:5254)
      5 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames