java.lang.RuntimeException: Unable to start receiver com.novoda.merlin.receiver.ConnectivityReceiver: java.lang.NullPointerException

GitHub | ouchadam | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    null point exception in the ConnectivityReceiver

    GitHub | 4 years ago | ouchadam
    java.lang.RuntimeException: Unable to start receiver com.novoda.merlin.receiver.ConnectivityReceiver: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.novoda.merlin.receiver.ConnectivityReceiver.getMerlinService()
    2. com.novoda.merlin
      ConnectivityReceiver.onReceive
      1. com.novoda.merlin.receiver.ConnectivityReceiver.getMerlinService(ConnectivityReceiver.java:34)
      2. com.novoda.merlin.receiver.ConnectivityReceiver.notifyMerlinService(ConnectivityReceiver.java:29)
      3. com.novoda.merlin.receiver.ConnectivityReceiver.onReceive(ConnectivityReceiver.java:19)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleReceiver(ActivityThread.java:2376)
      2. android.app.ActivityThread.access$1500(ActivityThread.java:141)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310)
      4. android.os.Handler.dispatchMessage(Handler.java:99)
      5. android.os.Looper.loop(Looper.java:137)
      6. android.app.ActivityThread.main(ActivityThread.java:5039)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame