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

NullPointerException in HeapAnalyzer.findLeakingReference #270

Closed
jpelgrim opened this issue Sep 2, 2015 · 4 comments
Closed

NullPointerException in HeapAnalyzer.findLeakingReference #270

jpelgrim opened this issue Sep 2, 2015 · 4 comments

Comments

@jpelgrim
Copy link

jpelgrim commented Sep 2, 2015

I am running Android M preview 3 on a nexus 9. Little memory leaks are reported. Most of the time I see this:

* 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: cf4599da-deaa-480a-bb23-57e6e512999b
* Device: htc google Nexus 9 volantis
* Android Version: 6.0 API: 23 LeakCanary: 1.3.1
* Durations: watch=5136ms, gc=142ms, heap dump=2500ms, analysis=7720ms
@Exaper
Copy link

Exaper commented Sep 2, 2015

Same as #267

@jpelgrim
Copy link
Author

jpelgrim commented Sep 2, 2015

I thought I didn't see this bug report yet @Exaper Didn't look well enough. Happy if this one is closed. I'll keep an eye on #267

Cheers,
Johan.

@tudoubudou
Copy link

same! on Android 6.0

@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

4 participants