java.lang.RuntimeException: Unable to pause activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: android.hardware.SystemSensorManager$1@41d29448

GitHub | BishopGIS | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Crash on pause

    GitHub | 5 months ago | BishopGIS
    java.lang.RuntimeException: Unable to pause activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: android.hardware.SystemSensorManager$1@41d29448
  2. 0

    GitHub comment 523#249368363

    GitHub | 5 months ago | BishopGIS
    java.lang.RuntimeException: Unable to pause activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: android.hardware.SystemSensorManager$1@41511a50

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Receiver not registered: android.hardware.SystemSensorManager$1@41d29448

      at android.app.LoadedApk.forgetReceiverDispatcher()
    2. Android Platform
      SensorManager.unregisterListener
      1. android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:657)
      2. android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1352)
      3. android.hardware.SystemSensorManager.unregisterListenerImpl(SystemSensorManager.java:573)
      4. android.hardware.SensorManager.unregisterListener(SensorManager.java:551)
      4 frames
    3. com.nextgis.maplibui
      CompassFragment.onPause
      1. com.nextgis.maplibui.fragment.CompassFragment.onPause(CompassFragment.java:209)
      1 frame
    4. Android Support v4
      FragmentActivity.onPause
      1. android.support.v4.app.Fragment.performPause(Fragment.java:2253)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1157)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
      4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268)
      5. android.support.v4.app.FragmentManagerImpl.dispatchPause(FragmentManager.java:2157)
      6. android.support.v4.app.FragmentController.dispatchPause(FragmentController.java:234)
      7. android.support.v4.app.FragmentActivity.onPause(FragmentActivity.java:461)
      7 frames
    5. com.nextgis.mobile
      MainActivity.onPause
      1. com.nextgis.mobile.activity.MainActivity.onPause(MainActivity.java:778)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.app.Activity.performPause(Activity.java:5206)
      2. android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1236)
      3. android.app.ActivityThread.performPauseActivity(ActivityThread.java:3002)
      4. android.app.ActivityThread.performPauseActivity(ActivityThread.java:2971)
      5. android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2949)
      6. android.app.ActivityThread.access$800(ActivityThread.java:141)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1245)
      8. android.os.Handler.dispatchMessage(Handler.java:99)
      9. android.os.Looper.loop(Looper.java:137)
      10. android.app.ActivityThread.main(ActivityThread.java:5039)
      10 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    8. 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
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame