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.

  • Game slows than freezes
    via freecol by *anonymous
    ,
  • Java PNG Exception
    via Stack Overflow by koldewb
    ,
  • Follow-Up:Signed Jar with image hangs
    via by 843802,
  • Unsigned jar runs, signed doesn't!
    via by 843802,
  • drawImage and ClassCastExceptions
    via by 807577,
  • drawImage and ClassCastExceptions
    via by 843797,
    • java.lang.ClassCastException: \[I cannot be cast to \[B at java.awt.image.ColorModel.getAlpha(ColorModel.java:815) at java.awt.image.ColorModel.getRGB(ColorModel.java:860) at sun.awt.image.ImageRepresentation.convertToRGB(ImageRepresentation.java:278) at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:538) at java.awt.image.AreaAveragingScaleFilter.accumPixels(AreaAveragingScaleFilter.java:196) at java.awt.image.AreaAveragingScaleFilter.setPixels(AreaAveragingScaleFilter.java:235) at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:108) at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:540) at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:460) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    No Bugmate found.