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

Unhandled Exceptions in Start

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 8u60
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      FULL PRODUCT VERSION :
      Microsoft Windows [Version 6.3.9600]
      (c) 2013 Microsoft Corporation. All rights reserved.

      C:\Users\Owner>java -version
      java version "1.8.0_60"
      Java(TM) SE Runtime Environment (build 1.8.0_60-b26)
      Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

      C:\Users\Owner>

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.3.9600]
      (c) 2013 Microsoft Corporation. All rights reserved.

      C:\Users\Owner>ver

      Microsoft Windows [Version 6.3.9600]

      C:\Users\Owner>

      A DESCRIPTION OF THE PROBLEM :
      Using the Thread default unchecked exception handler it is not possible to receive unchecked events from a JavaFX start method. Listening for exceptions from main() or anywhere else on the JavaFX application thread works as expected. It is necessary to be able to handle these exceptions for error reporting akin to Google Breakpad for cross-platform error reporting.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a new JavaFX application and create an unchecked exception handler for the thread. Cause an exception to occur in the JavaFX start() method and try to handle it using the default unchecked exception handler.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would expect the unchecked exception handler to receive the exception and let me process it.
      ACTUAL -
      The unchecked exception handler does not receive the exception and I am unable to process it other than with a try catch block.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      I have not currently discovered a workaround for this issue.

      SUPPORT :
      YES

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: