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

Marshmallow stack trace from 1-4.SNASHOT #358

Closed
agbison opened this issue Jan 4, 2016 · 5 comments
Closed

Marshmallow stack trace from 1-4.SNASHOT #358

agbison opened this issue Jan 4, 2016 · 5 comments

Comments

@agbison
Copy link

agbison commented Jan 4, 2016

  • 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)
@pyricau
Copy link
Member

pyricau commented Jan 5, 2016

@agbison can you paste all the information that LeakCanary outputs? We need the details about the version & the leak canary build sha.

@pyricau
Copy link
Member

pyricau commented Jan 5, 2016

It looks like you're not using the latest build, given the line numbers.

@johngray1965
Copy link

I'm using the 1.4 Snapshot, and I'm seeing this:

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)

@jrodbx
Copy link
Collaborator

jrodbx commented Jan 6, 2016

@johngray1965: the line numbers in the provided stack trace point to an older version of the 1.4-SNAPSHOT. This error was fixed in 47b098e. Please update to the most recent build.

@johngray1965
Copy link

Ugh, you are correct, apparently I had gone back to 1.3.1. 1.4-SNAPSHOT is working for me now.

@pyricau pyricau closed this as completed Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants