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

Region code should not throw NPE because of bad image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      When an image loading fails and the Image is put to scenegraph anyway, rendering throws NPE because there is null platformImage reference. Rendering should probably call image's isError() mothod and in case there is an error not try to render it. For use-cases and stack traces, see RT-31630 and RT-31859.

            flar Jim Graham
            psafrata Pavel Ĺ afrata
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: