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

GitHub | zaki50 | 5 months ago
  1. 0

    StrictMode policy violation when executing unit test

    GitHub | 5 months ago | zaki50
    android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
  2. 0

    Paste.ee - View paste uxeoJ

    paste.ee | 1 year ago
    android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
  3. 0

    crash with beta on startup

    GitHub | 1 year ago | carnager
    android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    StrictMode disk access violation

    GitHub | 2 years ago | danh32
    android.os.StrictMode$StrictModeDiskReadViolation: policy=95 violation=2

  1. gaurav 3 times, last 1 week ago
  2. boussoffara med ali 1 times, last 2 weeks ago
  3. malhobayyeb 4 times, last 1 week ago
  4. bmacedo 1 times, last 3 weeks ago
  5. bluebunnty 33 times, last 2 weeks ago
37 more registered users
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:1137)
    1 frame
  3. Android
    BlockGuardOs.access
    1. libcore.io.BlockGuardOs.access(BlockGuardOs.java:67)
    1 frame
  4. Java RT
    File.exists
    1. java.io.File.doAccess(File.java:283)
    2. java.io.File.exists(File.java:363)
    2 frames
  5. Android Platform
    ContextImpl.getFilesDir
    1. android.app.ContextImpl.createFilesDirLocked(ContextImpl.java:995)
    2. android.app.ContextImpl.getFilesDir(ContextImpl.java:1018)
    2 frames
  6. io.realm
    RealmInMemoryTest.testWriteCopyTo
    1. io.realm.RealmConfiguration$Builder.<init>(RealmConfiguration.java:391)
    2. io.realm.RealmInMemoryTest.testWriteCopyTo(RealmInMemoryTest.java:134)
    2 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  8. JUnit
    TestResult$1.protect
    1. junit.framework.TestCase.runTest(TestCase.java:168)
    2. junit.framework.TestCase.runBare(TestCase.java:134)
    3. junit.framework.TestResult$1.protect(TestResult.java:115)
    3 frames
  9. android.support.test
    AndroidTestResult.runProtected
    1. android.support.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:77)
    1 frame
  10. JUnit
    TestResult.run
    1. junit.framework.TestResult.run(TestResult.java:118)
    1 frame
  11. android.support.test
    AndroidTestResult.run
    1. android.support.test.internal.runner.junit3.AndroidTestResult.run(AndroidTestResult.java:55)
    1 frame
  12. JUnit
    TestCase.run
    1. junit.framework.TestCase.run(TestCase.java:124)
    1 frame
  13. android.support.test
    NonLeakyTestSuite$NonLeakyTest.run
    1. android.support.test.internal.runner.junit3.NonLeakyTestSuite$NonLeakyTest.run(NonLeakyTestSuite.java:63)
    1 frame
  14. JUnit
    TestSuite.run
    1. junit.framework.TestSuite.runTest(TestSuite.java:243)
    2. junit.framework.TestSuite.run(TestSuite.java:238)
    2 frames
  15. android.support.test
    JUnit38ClassRunner.run
    1. android.support.test.internal.runner.junit3.DelegatingTestSuite.run(DelegatingTestSuite.java:103)
    2. android.support.test.internal.runner.junit3.AndroidTestSuite.run(AndroidTestSuite.java:69)
    3. android.support.test.internal.runner.junit3.JUnit38ClassRunner.run(JUnit38ClassRunner.java:103)
    3 frames
  16. JUnit
    JUnitCore.run
    1. org.junit.runners.Suite.runChild(Suite.java:128)
    2. org.junit.runners.Suite.runChild(Suite.java:27)
    3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    8. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    9. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
    10 frames
  17. android.support.test
    AndroidJUnitRunner.onStart
    1. android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
    2. android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
    2 frames
  18. Android Platform
    Instrumentation$InstrumentationThread.run
    1. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853)
    1 frame