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

REG: serialization proccess throws NPE

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b23
    • Introduced In Version:
    • Resolved In Build:
      b25
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        multiple JCK tests fails with NPE for 6u10 b23.

        JCK : JCK-runtime-6a b14
        J2SE : FAIL - jdk6u10 build 23
        Platform[s] : FAIL - Windows (XP prof., Vista, 2008) x86, solaris10 sparc
        switch/Mode : FAIL - any

        List of test cases with stack traces:

        api/java_awt/Dialog/serial/index.html#Input[serial2002]
        java.lang.NullPointerException
                at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
                at java.util.Arrays.asList(Arrays.java:3343)
                at java.awt.Container.readObject(Container.java:3569)
                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:597)
                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
                at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
                at javasoft.sqe.tests.api.java.awt.Dialog.serial.InputTests.serial2002(InputTests.java:111)
                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:597)
                at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
                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.awt.Dialog.serial.InputTests.main(InputTests.java:33)
        serial2002: Failed. Test case throws exception: java.lang.NullPointerException

        api/java_awt/Event/serialization/descriptions.html#Events[testRead]
        java.lang.NullPointerException
                at java.awt.Container.readObject(Container.java:3581)
                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:597)
                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                at javasoft.sqe.javatest.lib.SerializeTest.read(SerializeTest.java:413)
                at javasoft.sqe.javatest.lib.SerializeTest.testRead(SerializeTest.java:308)
                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:597)
                at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
                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.awt.Event.serialization.EventsTests.main(EventsTests.java:49)
        testRead: Failed. Test case throws exception: java.lang.NullPointerException

        api/java_awt/FileDialog/serial/index.html#Input[serial2002]
        java.lang.NullPointerException
                at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
                at java.util.Arrays.asList(Arrays.java:3343)
                at java.awt.Container.readObject(Container.java:3569)
                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:597)
                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
                at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
                at javasoft.sqe.tests.api.java.awt.FileDialog.serial.InputTests.serial2002(InputTests.java:121)
                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:597)
                at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
                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.awt.FileDialog.serial.InputTests.main(InputTests.java:33)
        serial2002: Failed. Test case throws exception: java.lang.NullPointerException

        api/java_awt/Frame/serial/index.html#Input[serial2002]
        java.lang.NullPointerException
                at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
                at java.util.Arrays.asList(Arrays.java:3343)
                at java.awt.Container.readObject(Container.java:3569)
                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:597)
                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
                at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
                at javasoft.sqe.tests.api.java.awt.Frame.serial.InputTests.serial2002(InputTests.java:159)
                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:597)
                at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
                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.awt.Frame.serial.InputTests.main(InputTests.java:33)
        serial2002: Failed. Test case throws exception: java.lang.NullPointerException

        api/java_awt/Panel/serial/index.html#Input[serial2002]
        java.lang.NullPointerException
                at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
                at java.util.Arrays.asList(Arrays.java:3343)
                at java.awt.Container.readObject(Container.java:3569)
                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:597)
                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
                at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
                at javasoft.sqe.tests.api.java.awt.Panel.serial.InputTests.serial2002(InputTests.java:102)
                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:597)
                at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
                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.awt.Panel.serial.InputTests.main(InputTests.java:33)
        serial2002: Failed. Test case throws exception: java.lang.NullPointerException

        api/java_awt/ScrollPane/serial/index.html#Input[serial2002]
        java.lang.NullPointerException
                at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
                at java.util.Arrays.asList(Arrays.java:3343)
                at java.awt.Container.readObject(Container.java:3569)
                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:597)
                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
                at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
                at javasoft.sqe.tests.api.java.awt.ScrollPane.serial.InputTests.serial2002(InputTests.java:130)
                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:597)
                at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
                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.awt.ScrollPane.serial.InputTests.main(InputTests.java:33)
        serial2002: Failed. Test case throws exception: java.lang.NullPointerException

        api/java_awt/Window/serial/index.html#Input[serial2002]
        java.lang.NullPointerException
                at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
                at java.util.Arrays.asList(Arrays.java:3343)
                at java.awt.Container.readObject(Container.java:3569)
                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:597)
                at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
                at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                at javasoft.sqe.serial.util.Convert.readObjectFromByteArray(Convert.java:120)
                at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:53)
                at javasoft.sqe.tests.api.java.awt.Window.serial.InputTests.serial2002(InputTests.java:139)
                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:597)
                at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
                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.awt.Window.serial.InputTests.main(InputTests.java:33)
        serial2002: Failed. Test case throws exception: java.lang.NullPointerException

        (see comments for more stack traces)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                son Oleg Sukhodolsky (Inactive)
                Reporter:
                son Oleg Sukhodolsky (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: