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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web48642

  • via GitHub by BishopGIS
    , 9 months ago
    Unable to pause activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: android.hardware.SystemSensorManager$1@41511a50
  • via GitHub by BishopGIS
    , 9 months ago
    Unable to pause activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: android.hardware.SystemSensorManager$1@41d29448
  • Unable to pause activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: com.nextgis.mobile.activity.MainActivity$MessageReceiver@40ffcba0
  • Stack trace

    • 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 at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3016) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2971) at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2949) at android.app.ActivityThread.access$800(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1245) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5039) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IllegalArgumentException: Receiver not registered: android.hardware.SystemSensorManager$1@41511a50 at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:657) at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1352) at android.hardware.SystemSensorManager.unregisterListenerImpl(SystemSensorManager.java:573) at android.hardware.SensorManager.unregisterListener(SensorManager.java:551) at com.nextgis.maplibui.fragment.CompassFragment.onPause(CompassFragment.java:209) at android.support.v4.app.Fragment.performPause(Fragment.java:2253) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1157) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268) at android.support.v4.app.FragmentManagerImpl.dispatchPause(FragmentManager.java:2157) at android.support.v4.app.FragmentController.dispatchPause(FragmentController.java:234) at android.support.v4.app.FragmentActivity.onPause(FragmentActivity.java:461) at com.nextgis.mobile.activity.MainActivity.onPause(MainActivity.java:778) at android.app.Activity.performPause(Activity.java:5206) at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1236) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3002) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 4 days ago
    5827 times, 2 weeks ago
    Unknown user
    Once, 3 months ago
    8 times, 4 months ago
    2 times, 7 months ago
    30 more bugmates