Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NegativeArraySizeException in CacheDispatcher.java:99

NegativeArraySizeException

java.lang.NegativeArraySizeException: -1105
at com.android.volley.toolbox.d.a(DiskBasedCache.java:300)
at com.android.volley.toolbox.d.a(DiskBasedCache.java:115)
at com.android.volley.d.run(CacheDispatcher.java:99)
like image 280
Geek4IT Avatar asked Jun 20 '26 12:06

Geek4IT


1 Answers

As per the link below, "There is a parallelism happening that when cache dispatcher thread is executing get method of Diskcache, the cached file is deleted by the Android OS for clean up. As OS can delete cache files from cache directory to reclaim space."

https://groups.google.com/forum/#!topic/volley-users/0W-oI6za8VY

like image 74
user3211856 Avatar answered Jun 22 '26 00:06

user3211856



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!