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

REGRESSION: JCK1.4a-runtime api/java_security/PermissionCollection/serial/index.

XMLWordPrintable

    • x86, sparc
    • linux, solaris_8, windows_xp



      Name: iaR10016 Date: 01/21/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b13
                       (passes with JDK1.4.2-b12, JDK1.4.1, JDK1.4.0)
      JCK : JCK1.4a-runtime
      Platform[s] : RedHat Linux 7.3 (GNOME), Windows XP Home, Solaris sparc, Solaris x86
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test : api/java_security/PermissionCollection/serial/index.html#Input [serial2002]

      JCK1.4a-runtime api/java_security/PermissionCollection/serial/index.html#Input test
      fails on JDK1.4.2-b13. The test passes with previous JDK builds.

      Test source location:
      =====================
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_security/PermissionCollection/serial/InputTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b13/jck14a/linux/suse8.0_gnome_server_linux-19/workDir/api/java_security/PermissionCollection/serial/index_Input.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/bash
      JCK="/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a"
      JDK="/net/jdk/export/disk8/local.java/jdk1.4/linux-i386"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java javasoft.sqe.tests.api.java.security.PermissionCollection.serial.InputTests -TestCaseID serial2002
      --- script end ---

      Test output:
      ============
      java.lang.NullPointerException
       at java.security.Permissions.readObject(Permissions.java:380)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
       at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:51)
       at javasoft.sqe.tests.api.java.security.PermissionCollection.serial.InputTests.serial2002(InputTests.java:87)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
       at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
       at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
       at javasoft.sqe.tests.api.java.security.PermissionCollection.serial.InputTests.main(InputTests.java:30)
      serial2002: Failed. Test case throws exception: java.lang.NullPointerException
      Checking for JDK Version : 1.2
      Creating StreamObject from spec
      Setting the value of serial fields
      Converting the StreamObject to Object
      STATUS:Failed.test cases: 1; all failed; first test case failure: serial2002

      Specific machine info:
      ======================
      Hostname: linux-13
      OS: RedHat Linux 7.3 (GNOME)

      Hostname: linux-21
      OS: Windows XP Home

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

            rleesunw Rosanna Lee (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: