You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and getting the following exception thrown, but I dont see in this stack trace any reference to my code
In com.biggu.shopsavvy:9.4.2:80230.
FAILURE:
java.lang.IllegalArgumentException: Field offset does not exists
at com.squareup.leakcanary.HahaHelper.fieldValue(HahaHelper.java:143)
at com.squareup.leakcanary.HahaHelper.asString(HahaHelper.java:81)
at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:97)
at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:79)
at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:59)
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)
@lawloretienne So sorry, I didn't mean I solved the problem. I'm working on a production which use this library to catch the leak, and face the same issues. But I didn't have enough time to investigate more or clone the project to local to modify it. But you could do it and try the fix I suggested.
I am using the latest snapshot release
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-SNAPSHOT'
and getting the following exception thrown, but I dont see in this stack trace any reference to my code
In com.biggu.shopsavvy:9.4.2:80230.
java.lang.IllegalArgumentException: Field offset does not exists
at com.squareup.leakcanary.HahaHelper.fieldValue(HahaHelper.java:143)
at com.squareup.leakcanary.HahaHelper.asString(HahaHelper.java:81)
at com.squareup.leakcanary.HeapAnalyzer.findLeakingReference(HeapAnalyzer.java:97)
at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:79)
at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:59)
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)
| Field: android.view.textservice.SpellCheckerSession$1.this$0
| Field: android.view.Choreographer$FrameDisplayEventReceiver.mMessageQueue (always)
| Thread:FinalizerWatchdogDaemon (always)
| Thread:main (always)
| Thread:LeakCanary-Heap-Dump (always)
| Class:java.lang.ref.WeakReference (always)
| Class:java.lang.ref.SoftReference (always)
| Class:java.lang.ref.PhantomReference (always)
| Class:java.lang.ref.Finalizer (always)
| Class:java.lang.ref.FinalizerReference (always)
The text was updated successfully, but these errors were encountered: