java.io.FileNotFoundException

/wordlist.txt: open failed: ENOENT (No such file or directory)


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 web11463

Solution icon of stackoverflow
/wordlist.txt: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
via Stack Overflow by Dporem
, 1 year ago
/debug.keystore: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
via Stack Overflow by user7655804
, 5 months ago
/assets/StockIODebug.json: open failed: ENOENT (No such file or directory)

Solution icon of web
DelAPKInstallList.txt: open failed: ENOENT (No such file or directory)

Solution icon of github
via GitHub by FindHao
, 9 months ago
/system/rootcheck.txt: open failed: ENOENT (No such file or directory)

Solution icon of github
: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
/etc/trustapp: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
1461854326445.png: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
userInfo.txt: open failed: ENOENT (No such file or directory)

Solution icon of stackoverflow
via Stack Overflow by LetsamrIt
, 1 month ago
C:/test.txt: open failed: ENOENT (No such file or directory)

Stack trace

  • java.io.FileNotFoundException: /wordlist.txt: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:409) at java.io.FileInputStream.<init>(FileInputStream.java:78) at java.io.FileInputStream.<init>(FileInputStream.java:105) at org.example.sudoku.Solver.<init>(Solver.java:20) at org.example.sudoku.GameActivity.onCreate(GameActivity.java:36) at android.app.Activity.performCreate(Activity.java:5133) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261) at android.app.ActivityThread.access$600(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) 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:393) ... 18 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

95 times, 2 months ago
167 times, 1 year ago
Once, 1 month ago
2 times, 2 months ago
Once, 6 months ago
43 more bugmates