java.lang.NullPointerException: Attempt to invoke virtual method 'int com.huawei.lcagent.client.LogCollectManager.getUserType()' on a null object reference

androidcentral.com | 6 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. 1

    Unable to start app due to LogCollectManager.getUserType() error - Android Forums at AndroidCentral.com

    androidcentral.com | 6 months ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'int com.huawei.lcagent.client.LogCollectManager.getUserType()' on a null object reference
  2. 0

    Unable to start android app due to LogCollectManager.getUserType() error

    Stack Overflow | 5 months ago | harazination
    java.lang.NullPointerException: Attempt to invoke virtual method 'int com.huawei.lcagent.client.LogCollectManager.getUserType()' on a null object reference 07-04 10:42:56.046: W/System.err(955):

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'int com.huawei.lcagent.client.LogCollectManager.getUserType()' on a null object reference

      at com.android.server.util.ReportTools.getUserType()
    2. com.android.server
      HwUserBehaviourRecord$AsyUploadLooperThread$1.handleMessage
      1. com.android.server.util.ReportTools.getUserType(ReportTools.java:86)
      2. com.android.server.util.ReportTools.isBetaUser(ReportTools.java:73)
      3. com.android.server.util.ReportTools.report(ReportTools.java:58)
      4. com.android.server.util.HwUserBehaviourRecord.appExitRecordInnerImpl(HwUserBehaviourRecord.java:125)
      5. com.android.server.util.HwUserBehaviourRecord.access$200(HwUserBehaviourRecord.java:32)
      6. com.android.server.util.HwUserBehaviourRecord$AsyUploadLooperThread$1.handleMessage(HwUserBehaviourRecord.java:255)
      6 frames
    3. Android Platform
      Looper.loop
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:150)
      2 frames
    4. com.android.server
      HwUserBehaviourRecord$AsyUploadLooperThread.run
      1. com.android.server.util.HwUserBehaviourRecord$AsyUploadLooperThread.run(HwUserBehaviourRecord.java:267)
      1 frame