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

Passing in a null Callback as an argument to snapshot should throw NPE back to caller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • 7u6
    • javafx

      If you call Node.snapshot or Scene.snapshot with a null Callback, an NPE will be generated after the snapshot has been performed when the runtime tries to call the callable. The user has no way to catch this exception nor is there any indication other than a warning message in the console that anything went wrong.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: