android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2

Stack Overflow | mohan.t | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    how to findout action taken against Strictmode policy violation

    Stack Overflow | 3 years ago | mohan.t
    android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
  2. 0

    How to use adb shell to display a local image

    Stack Overflow | 4 years ago | Dan J
    java.io.FileNotFoundException: /storage/sdcard0/Android/data/<mypackage>/Pictures/myfile.jpg: open failed: ENOENT (No such file or directory)
  3. 0

    Why the app stop after call video player with intent?

    Stack Overflow | 1 year ago | programer138200
    android.app.IntentReceiverLeaked: Activity com.android.gallery3d.app.MovieActivity has leaked IntentReceiver com.android.gallery3d.app.MovieActivity$6@41b61bf8 that was originally registered here. Are you missing a call to unregisterReceiver()?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bad flash - need to recover /data | Samsung Galaxy S II I9100

    xda-developers.com | 11 months ago
    java.io.FileNotFoundException: /storage/sdcard0/Android/data/com.android.gallery3d/cache/imgcache.idx: open failed: EACCES (Permission denied)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.os.StrictMode$StrictModeDiskReadViolation

    policy=31 violation=2

    at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk()
  2. Android Platform
    StrictMode$AndroidBlockGuardPolicy.onReadFromDisk
    1. android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1135)
    1 frame
  3. Android
    IoBridge.read
    1. libcore.io.BlockGuardOs.read(BlockGuardOs.java:148)
    2. libcore.io.IoBridge.read(IoBridge.java:425)
    2 frames
  4. Java RT
    RandomAccessFile.read
    1. java.io.RandomAccessFile.read(RandomAccessFile.java:287)
    2. java.io.RandomAccessFile.read(RandomAccessFile.java:270)
    2 frames
  5. com.intel.android
    MovieActivity.onCreate
    1. com.intel.android.gallery3d.common.BlobCache.loadIndex(BlobCache.java:260)
    2. com.intel.android.gallery3d.common.BlobCache.<init>(BlobCache.java:144)
    3. com.intel.android.gallery3d.util.CacheManager.getCache(CacheManager.java:56)
    4. com.intel.android.gallery3d.app.Bookmarker.getBookmark(Bookmarker.java:64)
    5. com.intel.android.gallery3d.app.MoviePlayer.initPlayer(MoviePlayer.java:281)
    6. com.intel.android.gallery3d.app.MoviePlayer.<init>(MoviePlayer.java:142)
    7. com.intel.android.gallery3d.app.MovieActivity$1.<init>(MovieActivity.java:91)
    8. com.intel.android.gallery3d.app.MovieActivity.onCreate(MovieActivity.java:90)
    8 frames
  6. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2188)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2273)
    5. android.app.ActivityThread.access$800(ActivityThread.java:138)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1236)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:149)
    9. android.app.ActivityThread.main(ActivityThread.java:5045)
    9 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:610)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame