Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) #216

Open
geeksville opened this issue Aug 20, 2017 · 0 comments

Comments

@geeksville
Copy link
Owner

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.io.FileNotFoundException: /storage/sdcard/andropilot/waypoints/2015-05-31_09-32-10.wpt: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:416)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at libcore.net.url.FileURLConnection.connect(FileURLConnection.java:82)
at libcore.net.url.FileURLConnection.getInputStream(FileURLConnection.java:181)
at java.net.URL.openStream(URL.java:462)
at com.geeksville.android.AndroidJUtil.getFromURI(AndroidJUtil.java:84)
at com.geeksville.andropilot.gui.MainActivity$FileLoadTask.inBackground(MainActivity.scala:613)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:16)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
... 5 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:400)
... 15 more
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.io.FileNotFoundException: /storage/sdcard/andropilot/waypoints/2015-05-31_09-32-10.wpt: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:416)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at libcore.net.url.FileURLConnection.connect(FileURLConnection.java:82)
at libcore.net.url.FileURLConnection.getInputStream(FileURLConnection.java:181)
at java.net.URL.openStream(URL.java:462)
at com.geeksville.android.AndroidJUtil.getFromURI(AndroidJUtil.java:84)
at com.geeksville.andropilot.gui.MainActivity$FileLoadTask.inBackground(MainActivity.scala:613)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:16)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
... 5 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:400)
... 15 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant