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 #524

Closed
MerveGencer opened this issue May 12, 2016 · 4 comments
Closed

Leak analysis failed #524

MerveGencer opened this issue May 12, 2016 · 4 comments

Comments

@MerveGencer
Copy link

LeakCanary Version:
1.3.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: 8b6ab620-5034-48a2-8117-5ea68dbf8211
* Device: motorola google Nexus 6 shamu
* Android Version: 6.0.1 API: 23 LeakCanary: 1.3.1
* Durations: watch=5056ms, gc=160ms, heap dump=6807ms, analysis=15815ms
@Pulimet
Copy link

Pulimet commented May 17, 2016

Same exception.

  • Reference Key: afd99ea0-b8db-4ab8-b52d-65197e426fa1
  • Device: samsung samsung SM-G900F cm_klte
  • Android Version: 6.0.1 API: 23 LeakCanary: 1.3.1
  • Durations: watch=5018ms, gc=140ms, heap dump=7190ms, analysis=21560ms

@nm2n
Copy link

nm2n commented May 20, 2016

Same issue:

  • Reference Key: 1c8639e8-32e1-4077-af3c-c2c8856654aa
  • Device: LGE google Nexus 5X bullhead
  • Android Version: N API: 23 LeakCanary: 1.3.1
  • Durations: watch=5030ms, gc=234ms, heap dump=6477ms, analysis=34756ms

@Pulimet
Copy link

Pulimet commented May 20, 2016

Update LeakCanary version to solve the issue:

   debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2'
   releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'
   testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'

@jrodbx
Copy link
Collaborator

jrodbx commented Jun 26, 2016

Duplicate of #341. Please update to a later version as @Pulimet suggests. We're looking to push a new release soon.

@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

4 participants