java.lang.NullPointerException

Attempt to invoke virtual method 'java.util.List com.squareup.haha.perflib.ClassObj.getInstancesList()' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web79

  • via GitHub by amatkivskiy
    ,
  • via GitHub by sismotur
    ,
  • via GitHub by BattleShipPark
    ,
  • Stack trace

    • java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.squareup.haha.perflib.ClassObj.getInstancesList()' on a null object reference at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:129) at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:84) at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:58) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.os.HandlerThread.run(HandlerThread.java:61)

    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

    iridiciridic
    4 times, last one
    thilothilo
    12 times, last one