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

Solutions on the web

via GitHub by nanodeath
, 1 year ago
Failed while trying to read 3Bricks.bmp!
java.lang.RuntimeException: Failed while trying to read 3Bricks.bmp! at com.technicallyvalid.kollapse.Main.runOverlappingModel(Main.kt:74) at com.technicallyvalid.kollapse.Main.main(Main.kt:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)Caused by: java.lang.IndexOutOfBoundsException: off < 0 || len < 0 || off + len > b.length! at javax.imageio.stream.ImageInputStreamImpl.readFully(ImageInputStreamImpl.java:346) at com.sun.imageio.plugins.bmp.BMPImageReader.read8Bit(BMPImageReader.java:1160) at com.sun.imageio.plugins.bmp.BMPImageReader.read(BMPImageReader.java:923) at javax.imageio.ImageIO.read(ImageIO.java:1448) at javax.imageio.ImageIO.read(ImageIO.java:1308) at com.technicallyvalid.kollapse.Main.runOverlappingModel(Main.kt:72) ... 6 more