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

deserialization results in null pointer exception for Weblogic

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      sparc
    • OS:
      solaris_8
    • Verification:
      Verified

      Description

      Changes in the serialization code in Merlin break applications that override the writeClassDescriptor/readClassDescriptor methods. This prevents Weblogic from running at all.

      The attachments contain 3 files: a class that implements a simple object input stream, an object output stream, and a test program. The test program runs fine on 1.3.0 and 1.3.1; it gets the following exception in Merlin:
      Exception in thread "main" java.lang.NullPointerException
              at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:375)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1441)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1357)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1544)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1202)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:297)
              at Test.main(Test.java:28)

      This is with build 65 of Merlin.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mwarressunw Michael Warres (Inactive)
                Reporter:
                soaks Scott Oaks
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: