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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • fx2.1
    • javafx
    • Windows 7, but will almost certainly affect all platforms.

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: