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

HeapAnalyzer.java bug #542

Closed
longlifeyw5756 opened this issue Jun 13, 2016 · 2 comments
Closed

HeapAnalyzer.java bug #542

longlifeyw5756 opened this issue Jun 13, 2016 · 2 comments

Comments

@longlifeyw5756
Copy link

E/AndroidRuntime: FATAL EXCEPTION: IntentService[HeapAnalyzerService]
Process: cn.ucai.day12_05:leakcanary, PID: 10350
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:154)
at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:89)
at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:56)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)

@longlifeyw5756
Copy link
Author

Android Studio2.1.2中测试LeakCanary出现以上的HeapAnalyzer.java第154行的空指针异常。
测试的案例就是github上下载demo

@jrodbx
Copy link
Collaborator

jrodbx commented Jun 26, 2016

Duplicate of #341. Please update to a later version.

@jrodbx jrodbx closed this as completed Jun 26, 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

2 participants