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

JCK1.3a, JCK1.4, api/javax_swing/ViewportLayout/index.html#layoutContainer

XMLWordPrintable

    • rc1
    • x86, sparc
    • generic, linux, windows_2000
    • Verified



      Name: iaR10016 Date: 10/01/2001


      JDK : JDK1.4.0-beta-b81
      JCK : JCK1.3a, JCK1.4-b10
      Platform[s] : RedHat Linux 7.1, Windows 2000
      switch/Mode : -client -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/javax_swing/ViewportLayout/index.html#layoutContainer [ViewportLayout2002]

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/ViewportLayout/layoutContainerTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b81/jck14/linux/redhat7.1_kde2_client_linux-13/workDir/api/javax_swing/ViewportLayout/index_layoutContainer.jtr

      How to reproduce:
      ====================
      Run the following script under RedHat Linux 7.1
      (probably, you need to change JCK and JAVA_HOME paths):
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.javax.swing.ViewportLayout.layoutContainerTests"
      $JAVA_HOME/bin/java -Xfuture ${executeClass}
      ---------Script END----------------------

      Test output:
      ============
      Warning: Cannot convert string "MetaCtrl<Key>Insert" to type VirtualBinding
      java.lang.NullPointerException
              at javax.swing.ViewportLayout.layoutContainer(ViewportLayout.java:144)
              at javasoft.sqe.tests.api.javax.swing.ViewportLayout.layoutContainerTests.ViewportLayout2002(layoutContainerTests.java:59)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
              at java.lang.reflect.Method.invoke(Method.java:327)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:135)
              at javasoft.sqe.tests.api.javax.swing.ViewportLayout.layoutContainerTests.main(layoutContainerTests.java:35)
      ViewportLayout2002: Failed. Test case throws exception: java.lang.NullPointerException
      STATUS:Failed.tests: 1; failed: 1; first test case failure: ViewportLayout2002
      Test failed

      Specific Machine Info:
      =====================
      Hostname: Linux-14
      OS: RedHat 7.1

      Hostname: Linux-2
      OS: Windows 2000

      ======================================================================

            peytoia Yuka Kamiya (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: