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

Leak analysis failed : NullPointerException #305

Closed
redmanit opened this issue Oct 15, 2015 · 10 comments
Closed

Leak analysis failed : NullPointerException #305

redmanit opened this issue Oct 15, 2015 · 10 comments

Comments

@redmanit
Copy link

This library had worked several times then suddenly stopped working because of this bug

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: b873b84a-1130-406b-bb0d-ae60303d8df2
  • Device: motorola google Nexus 6 shamu
  • Android Version: 6.0 API: 23 LeakCanary: 1.3.1
  • Durations: watch=5095ms, gc=165ms, heap dump=6830ms, analysis=18046ms
@abhishekjain89
Copy link

hit the same issue just yesterday.

@booknara
Copy link

I got the same issue just before.
(Nexus 6, Android OS 6.0, Build Number : MPA44I)
Compiled using debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'

If you need additional information to reproduce the issue, please let me know anytime.

@smitsgit
Copy link

hit the same issue.
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'

leak_canary_fail

@cavarzan
Copy link

Same issue in Nexus 5 with Android 6.0.

In com.xxx.yyy.zzz:0.0.14:3.
* 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: 57f4ae9f-c74a-4e9c-87ef-b2736f5fc5c9
* Device: LGE google Nexus 5 hammerhead
* Android Version: 6.0 API: 23 LeakCanary: 1.3.1
* Durations: watch=5042ms, gc=162ms, heap dump=7686ms, analysis=23192ms

@Exaper
Copy link

Exaper commented Oct 19, 2015

Duplicate of #267

@luckxudong
Copy link

Me too

@Zeliret
Copy link

Zeliret commented Oct 21, 2015

Every time this exception. Nexus 5 Android 6

@TomGilbert
Copy link

See change log for details at: https://github.com/square/leakcanary/blob/master/CHANGELOG.md
This is a known issue: Android 6.0 is not supported on builds prior to current 1.4-SNAPSHOT.

@alex-pers
Copy link

Every time this. Nexus 5 android 6

@jrodbx
Copy link
Collaborator

jrodbx commented Jan 2, 2016

Duplicate of #341

@jrodbx jrodbx closed this as completed Jan 2, 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