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

Oracle Community | 843851 | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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
  2. 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

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.scenario.effect.impl.j2d.J2DMergePeer 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(Unknown Source)
      2. com.sun.scenario.effect.impl.j2d.rsl.RSLRenderer$1.onDeviceReset(Unknown Source)
      2 frames
    3. Java RT
      Thread.run
      1. sun.java2d.pipe.hw.AccelDeviceEventNotifier.notifyListeners(Unknown Source)
      2. sun.java2d.pipe.hw.AccelDeviceEventNotifier.eventOccured(Unknown Source)
      3. sun.awt.windows.WToolkit.eventLoop(Native Method)
      4. sun.awt.windows.WToolkit.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)
      5 frames