java.lang.RuntimeException: Unable to start receiver com.android.settings.cyanogenmod.BootReceiver: java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference

JIRA | siewsin | 2 years 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 in '0' (705) (link to log) Link to process record: [AndroidRuntime](705) 08-25 08:13:25.714 499 1253 I am_crash: [705,0,com.android.settings,1086864965,java.lang.NullPointerException,Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference,CMHardwareManager.java,169] PID: 705 Package: 0 Reason: 1086864965 Flags: 0xffffffff: - SYSTEM: true - DEBUGGABLE: true - HAS_CODE: true - PERSISTENT: true - FACTORY TEST: true - ALLOW TASK REPARENTING: true - ALLOW CLEAR USERDATA: true - UPDATED SYSTEM APP: true - TEST ONLY: true - SUPPORTS SMALL SCREENS: true - SUPPORTS NORMAL SCREENS: true - SUPPORTS LARGE SCREENS: true - SUPPORTS XLARGE SCREENS: true - RESIZEABLE FOR SCREENS: true - SUPPORTS SCREEN DENSITIES: true - VM SAFE MODE: true - ALLOW BACKUP: true - KILL AFTER RESTORE: true - RESTORE ANY VERSION: true - EXTERNAL STORAGE: true - CANT SAVE STATE: true - FORWARD LOCK: true - NEVER ENCRYPT: true FATAL EXCEPTION: main (link to log) 08-25 08:13:25.713 705 705 E AndroidRuntime: FATAL EXCEPTION: main 08-25 08:13:25.713 705 705 E AndroidRuntime: Process: com.android.settings, PID: 705 08-25 08:13:25.713 705 705 E AndroidRuntime: java.lang.RuntimeException: Unable to start receiver com.android.settings.cyanogenmod.BootReceiver: java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2648) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:154) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.os.Looper.loop(Looper.java:135) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5292) 08-25 08:13:25.713 705 705 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 08-25 08:13:25.713 705 705 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) 08-25 08:13:25.713 705 705 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115) 08-25 08:13:25.713 705 705 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference 08-25 08:13:25.713 705 705 E AndroidRuntime: at cyanogenmod.hardware.CMHardwareManager.getSupportedFeatures(CMHardwareManager.java:169) 08-25 08:13:25.713 705 705 E AndroidRuntime: at cyanogenmod.hardware.CMHardwareManager.isSupported(CMHardwareManager.java:183) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.settings.DisplaySettings.restore(DisplaySettings.java:702) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.settings.cyanogenmod.BootReceiver.onReceive(BootReceiver.java:38) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2641) 08-25 08:13:25.713 705 705 E AndroidRuntime: ... 10 more

    JIRA | 2 years ago | siewsin
    java.lang.RuntimeException: Unable to start receiver com.android.settings.cyanogenmod.BootReceiver: java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference
  2. 0

    CRASH in '0' (705) (link to log) Link to process record: [AndroidRuntime](705) 08-25 08:13:25.714 499 1253 I am_crash: [705,0,com.android.settings,1086864965,java.lang.NullPointerException,Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference,CMHardwareManager.java,169] PID: 705 Package: 0 Reason: 1086864965 Flags: 0xffffffff: - SYSTEM: true - DEBUGGABLE: true - HAS_CODE: true - PERSISTENT: true - FACTORY TEST: true - ALLOW TASK REPARENTING: true - ALLOW CLEAR USERDATA: true - UPDATED SYSTEM APP: true - TEST ONLY: true - SUPPORTS SMALL SCREENS: true - SUPPORTS NORMAL SCREENS: true - SUPPORTS LARGE SCREENS: true - SUPPORTS XLARGE SCREENS: true - RESIZEABLE FOR SCREENS: true - SUPPORTS SCREEN DENSITIES: true - VM SAFE MODE: true - ALLOW BACKUP: true - KILL AFTER RESTORE: true - RESTORE ANY VERSION: true - EXTERNAL STORAGE: true - CANT SAVE STATE: true - FORWARD LOCK: true - NEVER ENCRYPT: true FATAL EXCEPTION: main (link to log) 08-25 08:13:25.713 705 705 E AndroidRuntime: FATAL EXCEPTION: main 08-25 08:13:25.713 705 705 E AndroidRuntime: Process: com.android.settings, PID: 705 08-25 08:13:25.713 705 705 E AndroidRuntime: java.lang.RuntimeException: Unable to start receiver com.android.settings.cyanogenmod.BootReceiver: java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2648) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:154) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.os.Looper.loop(Looper.java:135) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5292) 08-25 08:13:25.713 705 705 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 08-25 08:13:25.713 705 705 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) 08-25 08:13:25.713 705 705 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115) 08-25 08:13:25.713 705 705 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference 08-25 08:13:25.713 705 705 E AndroidRuntime: at cyanogenmod.hardware.CMHardwareManager.getSupportedFeatures(CMHardwareManager.java:169) 08-25 08:13:25.713 705 705 E AndroidRuntime: at cyanogenmod.hardware.CMHardwareManager.isSupported(CMHardwareManager.java:183) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.settings.DisplaySettings.restore(DisplaySettings.java:702) 08-25 08:13:25.713 705 705 E AndroidRuntime: at com.android.settings.cyanogenmod.BootReceiver.onReceive(BootReceiver.java:38) 08-25 08:13:25.713 705 705 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2641) 08-25 08:13:25.713 705 705 E AndroidRuntime: ... 10 more

    JIRA | 2 years ago | siewsin
    java.lang.RuntimeException: Unable to start receiver com.android.settings.cyanogenmod.BootReceiver: java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference

      at cyanogenmod.hardware.CMHardwareManager.getSupportedFeatures()
    2. cyanogenmod.hardware
      CMHardwareManager.isSupported
      1. cyanogenmod.hardware.CMHardwareManager.getSupportedFeatures(CMHardwareManager.java:169)
      2. cyanogenmod.hardware.CMHardwareManager.isSupported(CMHardwareManager.java:183)
      2 frames
    3. com.android.settings
      BootReceiver.onReceive
      1. com.android.settings.DisplaySettings.restore(DisplaySettings.java:702)
      2. com.android.settings.cyanogenmod.BootReceiver.onReceive(BootReceiver.java:38)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleReceiver(ActivityThread.java:2641)
      2. android.app.ActivityThread.access$1800(ActivityThread.java:154)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398)
      4. android.os.Handler.dispatchMessage(Handler.java:102)
      5. android.os.Looper.loop(Looper.java:135)
      6. android.app.ActivityThread.main(ActivityThread.java:5292)
      6 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
      2 frames
    7. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
      1 frame