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

NPE in HeapAnalyzer.findLeakingReference #583

Closed
philippela opened this issue Aug 15, 2016 · 3 comments
Closed

NPE in HeapAnalyzer.findLeakingReference #583

philippela opened this issue Aug 15, 2016 · 3 comments

Comments

@philippela
Copy link

philippela commented Aug 15, 2016

LeakCanary Version: 1.3.1, 1.4-beta2


08-15 15:06:37.934 23576 24856 D LeakCanary: * FAILURE:
08-15 15:06:37.934 23576 24856 D LeakCanary: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
08-15 15:06:37.934 23576 24856 D LeakCanary:    at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:160)
08-15 15:06:37.934 23576 24856 D LeakCanary:    at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:95)
08-15 15:06:37.934 23576 24856 D LeakCanary:    at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:57)
08-15 15:06:37.934 23576 24856 D LeakCanary:    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
08-15 15:06:37.934 23576 24856 D LeakCanary:    at android.os.Handler.dispatchMessage(Handler.java:102)
08-15 15:06:37.934 23576 24856 D LeakCanary:    at android.os.Looper.loop(Looper.java:148)
08-15 15:06:37.934 23576 24856 D LeakCanary:    at android.os.HandlerThread.run(HandlerThread.java:61)
08-15 15:06:37.934 23576 24856 D LeakCanary: 
08-15 15:06:37.934 23576 24856 D LeakCanary: * Reference Key: 774a3c45-09f8-4182-ba4d-3b2890467eb4
08-15 15:06:37.934 23576 24856 D LeakCanary: * Device: LGE google Nexus 5 hammerhead
08-15 15:06:37.934 23576 24856 D LeakCanary: * Android Version: 6.0.1 API: 23 LeakCanary: 1.3.1
08-15 15:06:37.934 23576 24856 D LeakCanary: * Durations: watch=5108ms, gc=140ms, heap dump=9547ms, analysis=34451ms


@usernotnull
Copy link

+1

1 similar comment
@wangying3426
Copy link

+1

@jrodbx
Copy link
Collaborator

jrodbx commented Sep 12, 2016

Duplicate of #341 and other issues. This should be fixed as of 47b098e.

Please re-open with a updated stack trace (current is 1.4-beta2) if the problem is still occurring.

@jrodbx jrodbx closed this as completed Sep 12, 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