Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ImageRepresentation.setPixels() has thrown a ClassCastException
    Java Runtime
    1
    2
    1

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: [I
2 matching frames hidden
    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)
11 frames hidden

External results for this pattern (10)

  1. bcauchonvia GitHub2 months ago
    [I cannot be cast to [B
    Show stack trace
  2. Unknown authorvia java.com4 months ago
  3. 807577via Oracle Community4 months ago
  4. 843799via Oracle Community4 months ago
  5. koldewbvia Stack Overflow4 months ago
    [I cannot be cast to [B
    Show stack trace
  6. Ukaashahvia Google Groups1 year ago
    No message found for this stack trace.
    Show stack trace
  7. 807606via Oracle Community1 year ago
    [I
    Show stack trace
  8. 843799via Oracle Community1 year ago
    No message found for this stack trace.
    Show stack trace
  9. 843807via Oracle Community1 year ago
    No message found for this stack trace.
    Show stack trace