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

Kestrel "G" : Two java_awt tests fail on Windows NT/98 with NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 1.3.0
    • client-libs
    • x86, sparc
    • solaris_2.6, windows_98, windows_nt

      Two java_awt tests listed below fail on Windows NT 4.0 and Windows 98. These tests are run using Tonga harness with Kestrel build "G". These tests fail with both HotSpot Client VM and Classic VM ( with and without JIT).

      Tests are located at
       /net/sqesvr/vsn/testbase/testbase_ss/src/libs_api_tests/common/java_awt/Image/MemoryImage/Grabbers

      /net/sqesvr/vsn/testbase/testbase_ss/src/libs_api_tests/common/java_awt/Image/MemoryImage/TestAnimate

      To Reproduce the bugs :
      The above tests can be run using Tonga. If you want I can reproduce them on my a machine in LAB 2283, or they can be run command line seperatley. To run them on command line,
      1. Copy all the test directories ie., TestAnimate, Grabbers - locally on your machine.
      2. In each directory
       javac *.java
      3. Run tests in respective directories.
      in directory TestAnimate,
      java TestAnimate . ( . is an argument to the test ie, current test directory to pickup some files)

      This test fails with NullPointerException

      java.lang.NullPointerException
              at Animator.getImage(E:\kestrel\tonga_ss\Administrator.NT.x86\TestAnimat
      e\Animator.java:51)
              at TestAnimate.<init>(E:\kestrel\tonga_ss\Administrator.NT.x86\TestAnima
      te\TestAnimate.java:35)
              at TestAnimate.main(E:\kestrel\tonga_ss\Administrator.NT.x86\TestAnimate
      \TestAnimate.java:76)
      java.lang.NegativeArraySizeException
              at Animator.run(E:\kestrel\tonga_ss\Administrator.NT.x86\TestAnimate\Ani
      mator.java:72)



      in directory Grabbers
      java Grabbers .
      This test fails with the following message

      java.lang.NullPointerException
              at Animator.getImage(E:\kestrel\tonga_ss\Administrator.NT.x86\Grabbers\A
      nimator.java:54)
              at Grabbers.<init>(E:\kestrel\tonga_ss\Administrator.NT.x86\Grabbers\Gra
      bbers.java:35)
              at Grabbers.main(E:\kestrel\tonga_ss\Administrator.NT.x86\Grabbers\Grabb
      ers.java:76)
      java.lang.NegativeArraySizeException
              at Animator.run(E:\kestrel\tonga_ss\Administrator.NT.x86\Grabbers\Animat
      or.java:75)

            prssunw Prs Prs (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: