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 jmrtd by *anonymous
, 1 year ago
[I cannot be cast to [B
java.lang.ClassCastException: [I cannot be cast to [B	at sun.awt.image.ByteInterleavedRaster.getDataElements(ByteInterleavedRaster.java:364)	at org.jmrtd.imageio.JJ2000ImageWriter.write(JJ2000ImageWriter.java:79)	at javax.imageio.ImageWriter.write(ImageWriter.java:615)	at org.jmrtd.jj2000.test.ImageTest.(ImageTest.java:49)	at org.jmrtd.jj2000.test.ImageTest.main(ImageTest.java:91)