java.lang.ClassCastException: java.lang.Object

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 java.com by Unknown author, 1 year ago
via Oracle Community by 843805, 1 year ago
via compgroups.net by Unknown author, 2 years ago
java.lang.ClassCastException: java.lang.Object
at java.awt.image.ColorModel.getAlpha(ColorModel.java:856)
at java.awt.image.ColorModel.getRGB(ColorModel.java:901)
at sun.awt.image.ImageRepresentation.convertToRGB(ImageRepresentation.java:312)
at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:527)
at java.awt.image.AreaAveragingScaleFilter.accumPixels(AreaAveragingScaleFilter.java:229)
at java.awt.image.AreaAveragingScaleFilter.setPixels(AreaAveragingScaleFilter.java:268)
at sun.awt.image.PixelStore8.replayLines(PixelStore8.java:69)
at sun.awt.image.PixelStore.replay(PixelStore.java:248)
at sun.awt.image.PixelStore.replay(PixelStore.java:177)
at sun.awt.image.InputStreamImageSource.updateFromStore(InputStreamImageSource.java:334)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:283)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:205)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:173)

Users with the same issue

You are the first who have seen this exception.

Write tip

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