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

merlin b44: java.lang.NullPointerException thrown at tests in th_TH locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • sparc
    • solaris_7

      With Merlin b44 or b45, run jTable tests (and 13 other tests) in GlobalSuite framework in th_TH locale, the test failed with java.lang.NullPointerException thrown, the log is attached as below.

      Same test was executed in ar, en_US locales, and did not have exception thrown. This happens in both b44 and b45, noticed in b45, in additiona to the following message, the message "Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock." was also thrown (bug 4398496).

      ================================================================
      #Test Results (version 2)
      #Fri Dec 15 15:14:53 PST 2000
      #checksum:550676c0b9faccd3
      #-----testdescription-----
      $file=/home/minchit/i18n_ws/GlobalSuite/test/font-render/swing/two/jTable.java
      $root=/home/minchit/i18n_ws/GlobalSuite
      keywords=manual
      library=../..
      run=USER_SPECIFIED build TestTemplate\nUSER_SPECIFIED applet/manual=yesno jTable.html\n
      source=jTable.java
      title=

      #-----environment-----

      #-----testresult-----
      description=file:///home/minchit/i18n_ws/GlobalSuite/test/font-render/swing/two/jTable.java
      end=Fri Dec 15 15:14:53 PST 2000
      environment=regtest
      execStatus=Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
      javatestOS=SunOS 5.7 (sparc)
      javatestVersion=JT_2.1.4b05
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build build applet
      start=Fri Dec 15 15:14:25 PST 2000
      status=Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException
      test=test/font-render/swing/two/jTable.java
      work=/home/minchit/i18n_ws/GlobalSuite/JTwork/test/font-render/swing/two

      #section:script_messages
      ----------messages:(1/88)----------
      JDK under test: java full version "1.4.0beta-b44" (/usr/local/java/jdk1.4.bak/solsparc)

      #section:build
      ----------messages:(3/114)----------
      command: build TestTemplate
      reason: User specified action: run build TestTemplate
      elapsed time (seconds): 0.058
      result: Passed. No need to compile: TestTemplate.java

      #section:build
      ----------messages:(3/92)----------
      command: build jTable
      reason: Named class compiled on demand
      elapsed time (seconds): 0.018
      result: Passed. No need to compile: jTable.java

      #section:applet
      ----------messages:(3/127)----------
      command: applet jTable.html
      reason: User specified action: run applet/manual=yesno jTable.html
      elapsed time (seconds): 26.984
      ----------System.out:(5/450)----------
      th_TH.font-render.swing-two.RenderResource:RenderResource
      basename: RenderResource, tlocale: th_THsearchpath: th_TH/font-render/swing-two
      loader: /home/minchit/i18n_ws/GlobalSuite/data/th_TH/font-render/swing-two/RenderResource.properties
      loader: /home/minchit/i18n_ws/GlobalSuite/data/th_TH/font-render/swing-two/RenderResource_th.properties
      loader: /home/minchit/i18n_ws/GlobalSuite/data/th_TH/font-render/swing-two/RenderResource_th_TH.properties
      ----------System.err:(9/466)----------
      java.lang.NullPointerException
      at java.awt.Container.addImpl(Container.java:409)
      at java.awt.Container.add(Container.java:290)
      at TestTemplate.display(TestTemplate.java:105)
      at TestTemplate.setTestContent(TestTemplate.java:143)
      at jTable.init(jTable.java:29)
      at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:144)
      at java.lang.Thread.run(Thread.java:565)
      STATUS:Failed.Applet thread threw exception: java.lang.NullPointerException
      result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException


      test result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException

            ibdsunw Ibd Ibd (Inactive)
            mtiensunw Minchi Tien (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: