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

NullPtrException when passing BigIntegers

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      rc1
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        Passing a java.math.BigInteger results in the following NullPtrException:

        java.lang.NullPointerException
                at com.sun.corba.se.internal.io.ObjectStreamClass$CompareMemberByName.compare(ObjectStreamClass.java:1464)
                at java.util.Arrays.mergeSort(Arrays.java:1181)
                at java.util.Arrays.sort(Arrays.java:1128)
                at com.sun.corba.se.internal.io.ObjectStreamClass.computeStructuralUID(ObjectStreamClass.java:1124)
                at com.sun.corba.se.internal.io.ObjectStreamClass.init(ObjectStreamClass.java:585)
                at com.sun.corba.se.internal.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.java:141)
                at com.sun.corba.se.internal.io.ObjectStreamClass.lookup(ObjectStreamClass.java:86)
                at com.sun.corba.se.internal.io.ValueHandlerImpl.writeReplace(ValueHandlerImpl.java:371)
                at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:928)
                at com.sun.corba.se.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:252)
                at com.sun.corba.se.internal.corba.TCUtility.marshalIn(TCUtility.java:141)
                at com.sun.corba.se.internal.corba.AnyImpl.write_value(AnyImpl.java:573)
                at com.sun.corba.se.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:462)
                at com.sun.corba.se.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:226)
                at com.sun.corba.se.internal.javax.rmi.CORBA.Util.writeAny(Util.java:188)
                at javax.rmi.CORBA.Util.writeAny(Util.java:80)
                at _Tester_Stub.verifyTransmission(Unknown Source)
                at Client.testBigInteger(Client.java:32)
                at Client.main(Client.java:71)

        This may occur with a large number of other classes. Please see the comments section for more information.


        ************************************************************************
        muthu.anbumani@eng 2001-08-03

        Verification of Interop Test
        tests/product/serial/interop
        Done Successfully

        -Build: j2sdk-1_3_1_01-fcs-bin-solsparc-27_jun_2001
        -Build: j2sdk-1_4_0-beta_refresh-bin-b74-solsparc-01_aug_2001
        *************************************************************************

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                eandersosunw Everett Anderson (Inactive)
                Reporter:
                eandersosunw Everett Anderson (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: