java.lang.ClassCastException: com.sun.scenario.effect.impl.j2d.J2DCropPeer cannot be cast to com.sun.scenario.effect.impl.j2d.rsl.RSLEffectPeer

Oracle Community | 843851 | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Why ClassCastException is thrown?

    Oracle Community | 7 years ago | 843851
    java.lang.ClassCastException: com.sun.scenario.effect.impl.j2d.J2DCropPeer cannot be cast to com.sun.scenario.effect.impl.j2d.rsl.RSLEffectPeer
  2. 0

    J2DMergePeer cannot be cast to RSLEffectPeer

    Oracle Community | 7 years ago | 843851
    java.lang.ClassCastException: com.sun.scenario.effect.impl.j2d.J2DMergePeer cannot be cast to com.sun.scenario.effect.impl.j2d.rsl.RSLEffectPeer

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.scenario.effect.impl.j2d.J2DCropPeer cannot be cast to com.sun.scenario.effect.impl.j2d.rsl.RSLEffectPeer

      at com.sun.scenario.effect.impl.j2d.rsl.RSLRenderer.dispose()
    2. com.sun.scenario
      RSLRenderer$1.onDeviceReset
      1. com.sun.scenario.effect.impl.j2d.rsl.RSLRenderer.dispose(RSLRenderer.java:152)
      2. com.sun.scenario.effect.impl.j2d.rsl.RSLRenderer$1.onDeviceReset(RSLRenderer.java:83)
      2 frames
    3. Java RT
      Thread.run
      1. sun.java2d.pipe.hw.AccelDeviceEventNotifier.notifyListeners(AccelDeviceEventNotifier.java:143)
      2. sun.java2d.pipe.hw.AccelDeviceEventNotifier.eventOccured(AccelDeviceEventNotifier.java:77)
      3. sun.awt.windows.WToolkit.eventLoop(Native Method)
      4. sun.awt.windows.WToolkit.run(WToolkit.java:291)
      5. java.lang.Thread.run(Thread.java:619)
      5 frames