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
java.lang.NegativeArraySizeException: -557
at com.android.volley.toolbox.DiskBasedCache.streamToBytes(DiskBasedCache.java:323)
at com.android.volley.toolbox.DiskBasedCache.get(DiskBasedCache.java:119)
at com.android.volley.CacheDispatcher.run(CacheDispatcher.java:100)
This is my stacktrace. I think it's caused by unhandled NullPointer in the CacheDispatcher. My app crashs with this stacktrace everytime when the OS cleans up the Volley cache.
The text was updated successfully, but these errors were encountered:
Yes, but I really don’t get how to fix this bug. Because I have it right now and in issue #12 I read something about 2013 and I wasn’t able to find a solution there.
The NullPointerException was from another mistake by me, I mixed it up
Von: Joe Bowbeer<mailto:notifications@github.com>
Gesendet: Sonntag, 13. August 2017 18:28
An: google/volley<mailto:volley@noreply.github.com>
Cc: hanspeteroliver<mailto:krause.oliver@outlook.com>; Author<mailto:author@noreply.github.com>
Betreff: Re: [google/volley] Unhandled exception: NullPointerException/NegativeArrayException in CacheDispatcher (#72)
This is a dup of Issue #12<#12> ? (The fix for which is available in a snapshot.)
Can you explain the NullPointerException hypothesis?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#72 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Adin7i_24z3Yha7dEmUbChqir3-8IHklks5sXyQPgaJpZM4O1qD2>.
The bug was only fixed recently in the official repository. It has not made it to a public release yet but should soon.
In the mean time you can use a SNAPSHOT build of Volley if you'd like to pick up the latest bug fixes prior to the next release. There are some instructions here: #11 (comment)
java.lang.NegativeArraySizeException: -557
at com.android.volley.toolbox.DiskBasedCache.streamToBytes(DiskBasedCache.java:323)
at com.android.volley.toolbox.DiskBasedCache.get(DiskBasedCache.java:119)
at com.android.volley.CacheDispatcher.run(CacheDispatcher.java:100)
This is my stacktrace. I think it's caused by unhandled NullPointer in the CacheDispatcher. My app crashs with this stacktrace everytime when the OS cleans up the Volley cache.
The text was updated successfully, but these errors were encountered: