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
java.lang.NullPointerException in StorageUtils.getCacheDirectory #660
Comments
Hello. Which UIL version? |
I am using sources. My submodule Android-Universal-Image-Loader link to cfd8fa982243 |
I have similar report from user (Device: Samsung GT-I9300, Android 4.3), UIL v 1.9.1.
I dug into sources of Environment.getExternalStorageState on GrepCode |
nostra13/Android-Universal-Image-Loader#660 wn Exception java.lang.NullPointerException: android.os.Environment.getStorageState (Environment.java:858) android.app.ContextImpl.getExternalCacheDir (ContextImpl.java:931) android.content.ContextWrapper.getExternalCacheDir (ContextWrapper.java:235) com.unity3d.ads.cache.CacheDirectory.getCacheDirectory (SourceFile:32) com.unity3d.ads.properties.SdkProperties.getCacheDirectory (SourceFile:102) com.unity3d.ads.properties.SdkProperties.getCacheDirectory (SourceFile:94) com.unity3d.ads.configuration.EnvironmentCheck.testCacheDirectory (SourceFile:44) com.unity3d.ads.configuration.EnvironmentCheck.isEnvironmentOk (SourceFile:14) com.unity3d.ads.UnityAds.initialize (SourceFile:143) com.unity3d.ads.UnityAds.initialize (SourceFile:94) com.mopub.ads.Interstitial$2.run (SourceFile:361) android.os.Handler.handleCallback (Handler.java:733) android.os.Handler.dispatchMessage (Handler.java:95) android.os.Looper.loop (Looper.java:136) android.app.ActivityThread.main (ActivityThread.java:5372) java.lang.reflect.Method.invokeNative (Method.java) java.lang.reflect.Method.invoke (Method.java:515) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:970) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:786) dalvik.system.NativeStart.main (NativeStart.java)
Hello. I received an error log from my user.
Device specifications:
Model SCH-I545
Android 4.2.2
My line №97
The text was updated successfully, but these errors were encountered: