java.lang.IllegalStateException

problem parsing idx 1

Samebug tips1

Check if android.permission.WRITE_EXTERNAL_STORAGE is in AndroidManifest.xml. Also, add checks in your code to see if the storage is available to write before trying to write. And last: create a folder to put your files inside.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web313

  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.IllegalStateException: problem parsing idx 1 at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:300) at com.android.server.NetworkManagementService.getNetworkStatsUidDetail(NetworkManagementService.java:1282) at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:831) at com.android.server.net.NetworkStatsService.updateIfacesLocked(NetworkStatsService.java:743) at com.android.server.net.NetworkStatsService.updateIfaces(NetworkStatsService.java:721) at com.android.server.net.NetworkStatsService.access$000(NetworkStatsService.java:128) at com.android.server.net.NetworkStatsService$1.onReceive(NetworkStatsService.java:612) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.os.HandlerThread.run(HandlerThread.java:60) Caused by: java.io.FileNotFoundException: /proc
    • et/xt_qtaguid/stats: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:406) at java.io.FileInputStream.<init>(FileInputStream.java:78) at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:269) ... 11 more Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) at libcore.io.IoBridge.open(IoBridge.java:390) ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    filipebatistafilipebatista
    Once,
    AravindAravind
    2 times, last one
    Indri YunitaIndri Yunita
    63 times, last one
    gamebusterzgamebusterz
    Once,
    bmacedobmacedo
    Once,
    43 more bugmates