java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Java PNG Exception
    via Stack Overflow by koldewb
    ,
  • Exception when load image
    via by 843805,
  • drawImage and ClassCastExceptions
    via by 807577,
  • Game slows than freezes
    via freecol by *anonymous
    ,
  • drawImage and ClassCastExceptions
    via by 843797,
    • 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:295) at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:532) at java.awt.image.RGBImageFilter.filterRGBPixels(RGBImageFilter.java:183) at java.awt.image.RGBImageFilter.setPixels(RGBImageFilter.java:217) at ButtonFilter.setPixels(ButtonFilter.java:198) at java.awt.image.CropImageFilter.setPixels(CropImageFilter.java:119) at sun.awt.image.OffScreenImageSource.sendPixels(OffScreenImageSource.java:73) at sun.awt.image.OffScreenImageSource.produce(OffScreenImageSource.java:162) at sun.awt.image.OffScreenImageSource.addConsumer(OffScreenImageSource.java:37) at sun.awt.image.OffScreenImageSource.startProduction(OffScreenImageSource.java:51) at sun.awt.image.ImageRepresentation.replay(ImageRepresentation.java:897) at sun.awt.image.InputStreamImageSource.updateFromStore(InputStreamImageSource.java:293) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:237) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    No Bugmate found.