Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8119293

If an exception or error is thrown from an EventHandler of a KeyFrame it kills all animation and rendering

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7, but will almost certainly affect all platforms.

      Description

      The attached program (a modified version of HelloAnimation) illustrates this. It throws an exception from KeyFrame kf2 after 1.2 seconds. This exception kills all animation and rendering in the application.

      The problem is that the animation code is not catching exceptions and errors, which it must do.

        Attachments

          Activity

            People

            • Assignee:
              mheinrichs Michael Heinrichs (Inactive)
              Reporter:
              kcr Kevin Rushforth
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: