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

4680657 testcase is intermittently passing for 1.4.2_xx but always passing for 5.0ux

XMLWordPrintable

    • b01
    • x86
    • linux_suse_sles_9

      4680657/Bug4680657.java is passing intermittently( once in about 12 times)for all 1.4.2_xx jdks on all linux platforms. But testcase is passing for tiger all the times.

      JDK:
      ====
      java -version
      java version "1.4.2_10"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_10-b02, mixed mode)

      Operating System: SLES9.0, Madhatter-Cinnabar-Linux & RHEL 3.0
      =================

      Location of testcase:
      ====================
      /net/urts071.india/export6/testSuites/Regression/workspace_142/test/javax/swing/JTabbedPane/4680657/Bug4680657.java

      Steps to reproduce:
      ===================

      1) Please copy the attached Bug4680657.java file

      2) compile it
      <jdk location>/j2sdk1.4.2_10/bin/javac Bug4680657.java

      3) Run it
      <jdk location>/j2sdk1.4.2_10/bin/java Bug4680657

      Many times the following exception is being thrown.

      ERROR:
      ======
      Warning: Missing charsets in String to FontSet conversion
      Warning: Missing charsets in String to FontSet conversion
      Exception in thread "main" java.lang.NullPointerException
              at javax.swing.SizeRequirements.calculateAlignedPositions(SizeRequirements.java:442)
              at javax.swing.SizeRequirements.calculateAlignedPositions(SizeRequirements.java:403)
              at javax.swing.OverlayLayout.layoutContainer(OverlayLayout.java:205)
              at java.awt.Container.layout(Container.java:1020)
              at java.awt.Container.doLayout(Container.java:1010)
              at java.awt.Container.validateTree(Container.java:1092)
              at java.awt.Container.validateTree(Container.java:1099)
              at java.awt.Container.validateTree(Container.java:1099)
              at java.awt.Container.validateTree(Container.java:1099)
              at java.awt.Container.validateTree(Container.java:1099)
              at java.awt.Container.validateTree(Container.java:1099)
              at java.awt.Container.validate(Container.java:1067)
              at java.awt.Window.show(Window.java:461)
              at java.awt.Component.show(Component.java:1133)
              at java.awt.Component.setVisible(Component.java:1088)
              at Bug4680657.test(Bug4680657.java:51)
              at Bug4680657.main(Bug4680657.java:17)

      The following report will show the test status on different platforms:

      ---------------------------------------------------------------------
      Operationg System ~TotalRuns ~Pass ~Fail
      ----------------- --------- ----- ----
      SLES 9.0 15 1 or 2 13
      Madhatter-Cinnabar-Linux 15 1 or 2 13
      RHEL 3 15 13 1 or 2
      Solaris 15 15 --
      Windows 15 15 --
      -------------------------------------------------------------------
      Note: TotalRuns:- Number of times i rerun the testcase.

            asaha Abhijit Saha
            ssubhanisunw Shaik Subhani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: