java.io.IOException

lseek failed: EBADF (Bad file number)


Solutions on the web16801

Solution icon of github
via GitHub by ludwigb
, 7 months ago
lseek failed: EBADF (Bad file number)

Solution icon of github
lseek failed: EBADF (Bad file number)

Solution icon of github
lseek failed: EBADF (Bad file number)

Solution icon of googlegroups
via Google Groups by Martin Vennekamp, 1 month ago
lseek failed: EBADF (Bad file number)*

Solution icon of github
via GitHub by Goodingn
, 1 year ago
lseek failed: EBADF (Bad file number)

Solution icon of github
via GitHub by Goodingn
, 1 year ago
lseek failed: EBADF (Bad file number)

Solution icon of stackoverflow
lseek failed: EBADF (Bad file number) Stack trace:

Solution icon of web
via dolinked.com by Unknown author, 1 year ago
lseek failed: EBADF (Bad file number) Stack trace:

Solution icon of googlegroups
via Google Groups by jvatt, 2 months ago
read failed: EBADF (Bad file number)

Solution icon of web
via unity3d.com by Unknown author, 1 year ago
write failed: EBADF (Bad file number)

Stack trace

  • java.io.IOException: lseek failed: EBADF (Bad file number) at java.io.RandomAccessFile.seek(RandomAccessFile.java:602) at org.mapsforge.map.reader.IndexCache.getIndexEntry(IndexCache.java:91) at org.mapsforge.map.reader.MapFile.processBlocks(MapFile.java:496) at org.mapsforge.map.reader.MapFile.readMapData(MapFile.java:859) at org.mapsforge.map.reader.MapFile.readMapData(MapFile.java:834) at org.mapsforge.map.layer.renderer.DatabaseRenderer.executeJob(DatabaseRenderer.java:90) at org.mapsforge.map.layer.renderer.MapWorkerPool$MapWorker.run(MapWorkerPool.java:155) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) Caused by: android.system.ErrnoException: lseek failed: EBADF (Bad file number) at libcore.io.Posix.lseek(Native Method) at libcore.io.BlockGuardOs.lseek(BlockGuardOs.java:163) at java.io.RandomAccessFile.seek(RandomAccessFile.java:600) at org.mapsforge.map.reader.IndexCache.getIndexEntry(IndexCache.java:91) at org.mapsforge.map.reader.MapFile.processBlocks(MapFile.java:496) at org.mapsforge.map.reader.MapFile.readMapData(MapFile.java:859)

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

Once, 1 year ago
10 times, 1 year ago