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

Image.getScaledImage throws NPE in headless mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • 5.0
    • client-libs
    • 2d
    • sparc
    • solaris_8

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: