Image.getScaledImage throws NPE in headless mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 5.0
    • Component/s: client-libs
    • 2d
    • sparc
    • solaris_8

      Image.getScaledImage throws a NullPointerException when run in headless (-Djava.awt.headless=true) mode. This is a regression which first appeared in Tiger build b05. This problem causes the following JCK test to fail:
      api/java_awt/java2d/image/BufferedImage/index.html#GetTesttestCase11.

      Attached is a very simple stand-alone test that illustrates the problem.

            Assignee:
            Unassigned
            Reporter:
            Paul Rank (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: