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

GitHub | auras | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Too much activity on the main thread when starting AndroidUpnpService

    GitHub | 8 months ago | auras
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65543 violation=2
  2. 0

    SDK mobile Android | Convertigo

    convertigo.com | 6 months ago
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65543 violation=2
  3. 0

    Help resolve StrictMode policy violation

    GitHub | 2 months ago | aftabsikander
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65543 violation=2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GreenDao violating Android StrictMode

    Stack Overflow | 1 year ago | Christian Leicht Jørgensen
    android.os.StrictMode$StrictModeDiskReadViolation: policy=589855 violation=2
  6. 0

    NO Idea what causing this, ANY suggestion

    Stack Overflow | 1 year ago | wazz khan
    android.os.StrictMode$StrictModeDiskReadViolation: policy=65567 violation=2
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=65543 violation=2

    at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk()
  2. Android Platform
    StrictMode$AndroidBlockGuardPolicy.onReadFromDisk
    1. android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1263)
    1 frame
  3. Android
    IoUtils.readFileAsString
    1. libcore.io.BlockGuardOs.open(BlockGuardOs.java:182)
    2. libcore.io.IoBridge.open(IoBridge.java:438)
    3. libcore.io.IoUtils$FileReader.<init>(IoUtils.java:207)
    4. libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
    4 frames
  4. Java RT
    NetworkInterface.getNetworkInterfaces
    1. java.net.NetworkInterface.readIfInet6Lines(NetworkInterface.java:134)
    2. java.net.NetworkInterface.getNetworkInterfacesList(NetworkInterface.java:307)
    3. java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:298)
    3 frames
  5. org.fourthline.cling
    AndroidUpnpServiceImpl.onCreate
    1. org.fourthline.cling.transport.impl.NetworkAddressFactoryImpl.discoverNetworkInterfaces(NetworkAddressFactoryImpl.java:298)
    2. org.fourthline.cling.android.AndroidNetworkAddressFactory.discoverNetworkInterfaces(AndroidNetworkAddressFactory.java:105)
    3. org.fourthline.cling.transport.impl.NetworkAddressFactoryImpl.<init>(NetworkAddressFactoryImpl.java:90)
    4. org.fourthline.cling.android.AndroidNetworkAddressFactory.<init>(AndroidNetworkAddressFactory.java:40)
    5. org.fourthline.cling.android.AndroidUpnpServiceConfiguration.createNetworkAddressFactory(AndroidUpnpServiceConfiguration.java:77)
    6. org.fourthline.cling.DefaultUpnpServiceConfiguration.createNetworkAddressFactory(DefaultUpnpServiceConfiguration.java:257)
    7. org.fourthline.cling.transport.RouterImpl.enable(RouterImpl.java:129)
    8. org.fourthline.cling.android.AndroidRouter.enable(AndroidRouter.java:91)
    9. org.fourthline.cling.UpnpServiceImpl.<init>(UpnpServiceImpl.java:87)
    10. org.fourthline.cling.android.AndroidUpnpServiceImpl$1.<init>(AndroidUpnpServiceImpl.java:54)
    11. org.fourthline.cling.android.AndroidUpnpServiceImpl.onCreate(AndroidUpnpServiceImpl.java:54)
    11 frames
  6. Android Platform
    ActivityThread.handleCreateService
    1. android.app.ActivityThread.handleCreateService(ActivityThread.java:2877)
    1 frame