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
I'm using your library in my app and sometimes I get ClassCastException as below while trying to get ArrayList from cache. Usually it works ok but without any reason it may crash. When I turn on app again suddenly it works without exception.
com.game fatal error : com.iainconnor.objectcache.SoftCachedObject cannot be cast to java.util.ArrayList
java.lang.ClassCastException: com.iainconnor.objectcache.SoftCachedObject cannot be cast to java.util.ArrayList
at com.game.MainFragment$3.onSuccess(MainFragment.java:1)
at com.iainconnor.objectcache.CacheManager$GetAsyncTask.onPostExecute(CacheManager.java:220)
at android.os.AsyncTask.finish(AsyncTask.java:632)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered:
I'm using your library in my app and sometimes I get ClassCastException as below while trying to get ArrayList from cache. Usually it works ok but without any reason it may crash. When I turn on app again suddenly it works without exception.
com.game fatal error : com.iainconnor.objectcache.SoftCachedObject cannot be cast to java.util.ArrayList
java.lang.ClassCastException: com.iainconnor.objectcache.SoftCachedObject cannot be cast to java.util.ArrayList
at com.game.MainFragment$3.onSuccess(MainFragment.java:1)
at com.iainconnor.objectcache.CacheManager$GetAsyncTask.onPostExecute(CacheManager.java:220)
at android.os.AsyncTask.finish(AsyncTask.java:632)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered: