Image accepts null as URL - breaks background loading

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7u6
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None

      Image accepts null as the URL and does nothing about it. It prints a NPE to prism.verbose if the image is not background loaded. If it is background loaded then it breaks a background loading thread. If you ask for enough [null] url images with background=true then it breaks all background image loading.

      I feel the fix should be to throw a NPE from Image constructor if the url is null.

            Assignee:
            Ľubomír Nerád (Inactive)
            Reporter:
            Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: