Add wait to testCacheFile.
I found that sometimes NullPointerException is given off in the situation where CacheManager.getCacheFile() is executed before CacheManager finishes the preparation. To avoid this, I added wait for maximum of 5000ms so that preparation of CacheManager finishes completely.
Loading
Please sign in to comment