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 Oracle Community by 807577, 1 year ago
via Oracle Community by 843797, 1 year ago
via freecol by *anonymous
, 1 year ago
\[I cannot be cast to \[B
via Stack Overflow by koldewb
, 2 years ago
[I cannot be cast to [B
via GitHub by bflorat
, 2 years ago
java.lang.ClassCastException: [I	at java.awt.image.ColorModel.getAlpha(ColorModel.java:814)	at java.awt.image.ColorModel.getRGB(ColorModel.java:859)	at sun.awt.image.ImageRepresentation.convertToRGB(ImageRepresentation.java:271)	at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:485)	at java.awt.image.AreaAveragingScaleFilter.accumPixels(AreaAveragingScaleFilter.java:176)	at java.awt.image.AreaAveragingScaleFilter.setPixels(AreaAveragingScaleFilter.java:215)	at sun.awt.image.PixelStore8.replayLines(PixelStore8.java:38)	at sun.awt.image.PixelStore.replay(PixelStore.java:217)	at sun.awt.image.PixelStore.replay(PixelStore.java:146)	at sun.awt.image.InputStreamImageSource.updateFromStore(InputStreamImageSource.java:295)	at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:244)	at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:214)	at sun.awt.image.ImageFetcher.run(ImageFetcher.java:182)