java.io.FileNotFoundException: /storage/emulated/0/osmand/poi_types.xml: open failed: ENOENT (No such file or directory)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Before using FileOutputStream check that there's no directory or file with the same name you're trying to use. Trying to remove it works as well. Try using FileAsyncHttpResponseHandler(context) as well!

Solutions on the web

via GitHub by DhavalsShah
, 1 year ago
/storage/emulated/0/osmand/poi_types.xml: open failed: ENOENT (No such file or directory)
via GitHub by DhavalsShah
, 1 year ago
/storage/emulated/0/osmand/poi_types.xml: open failed: ENOENT (No such file or directory)
via Stack Overflow by Khan
, 1 year ago
/storage/sdcard0/pilot: open failed: EISDIR (Is a directory)
via Stack Overflow by Senura
, 1 month ago
/file:/android_asset/root-CA.crt: open failed: ENOENT (No such file or directory)
via Stack Overflow by Calitoz
, 1 year ago
/proc/uid_cputime/show_uid_stat: open failed: ENOENT (No such file or directory)
via Stack Overflow by Gili Garibi
, 1 year ago
/data/user/0/com.facebook.katana/cache/fb_temp/.facebook_1475750693248.jpg: open failed: EACCES (Permission denied)
java.io.FileNotFoundException: /storage/emulated/0/osmand/poi_types.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at java.io.FileInputStream.(FileInputStream.java:76)
at java.io.FileInputStream.(FileInputStream.java:103)
at net.osmand.osm.MapPoiTypes.init(MapPoiTypes.java:267)
at net.osmand.core.samples.android.sample1.SampleApplication.initPoiTypes(SampleApplication.java:55)
at net.osmand.core.samples.android.sample1.SampleApplication.onCreate(SampleApplication.java:32)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:369)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)

Users with the same issue

Once, 3 months ago
5 times, 1 month ago
Once, 4 months ago
100 times, 1 year ago
29 times, 11 months ago
100 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.