Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report of NPE #341

Closed
agbison opened this issue Dec 14, 2015 · 6 comments
Closed

Report of NPE #341

agbison opened this issue Dec 14, 2015 · 6 comments
Milestone

Comments

@agbison
Copy link

agbison commented Dec 14, 2015

  • FAILURE:
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
    at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:160)
    at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:95)
    at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:57)
    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.os.HandlerThread.run(HandlerThread.java:61)
  • Reference Key: 0603892a-e680-4c5d-aec0-d5205d94fef3
  • Device: Huawei google Nexus 6P angler
  • Android Version: 6.0 API: 23 LeakCanary: 1.3.1
  • Durations: watch=16204ms, gc=172ms, heap dump=8295ms, analysis=39792ms
@aectann
Copy link

aectann commented Dec 15, 2015

Happens for us too:

  • FAILURE:
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
    at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:160)
    at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:95)
    at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:57)
    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.os.HandlerThread.run(HandlerThread.java:61)
  • Reference Key: c6e50979-a417-4b51-853e-bca4655edf64
  • Device: LGE Android AOSP on Mako aosp_mako
  • Android Version: 6.0 API: 23 LeakCanary: 1.3.1
  • Durations: watch=5038ms, gc=210ms, heap dump=17383ms, analysis=53376ms

@jasonwyatt
Copy link

This is also happening for me, seems to be confined to Marshmallow.

@afeozzz
Copy link

afeozzz commented Dec 23, 2015

+1, Nexus 5, Android M

@johngray1965
Copy link

Seeing it on my 3rd Gen Moto X too (also running Marshmellow)

@borwoj
Copy link

borwoj commented Dec 30, 2015

+1

  • FAILURE:
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
    at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:160)
    at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:95)
    at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:57)
    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.os.HandlerThread.run(HandlerThread.java:61)
  • Reference Key: 3095176e-b105-4b7b-a892-3fdb09bb84be
  • Device: LGE google Nexus 5 hammerhead
  • Android Version: 6.0.1 API: 23 LeakCanary: 1.3.1
  • Durations: watch=5042ms, gc=190ms, heap dump=6021ms, analysis=16999ms

@jrodbx
Copy link
Collaborator

jrodbx commented Jan 2, 2016

This was fixed in 47b098e. Please update to 1.4-SNAPSHOT.

@jrodbx jrodbx closed this as completed Jan 2, 2016
@pyricau pyricau added this to the 1.4 milestone Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants