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

NPE in com.sun.corba.se.impl.io.OutputStreamHook$HookPutFields.put

    XMLWordPrintable

    Details

      Description

      Cu seeing NPE since the InetAddress changes in 7u21

      We found one more issue with JRE 7u55/7u45 when a remote call took InetAddress as a variable,
      Exception in thread "Thread-183" java.lang.NullPointerException
             at java.util.Hashtable.put(Hashtable.java:514)
             at com.sun.corba.se.impl.io.OutputStreamHook$HookPutFields.put(OutputStreamHook.java:115)
             at java.net.InetAddress.writeObject(InetAddress.java:1600)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             at java.lang.reflect.Method.invoke(Method.java:606)
             at com.sun.corba.se.impl.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:620)
             at com.sun.corba.se.impl.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:586)
             at com.sun.corba.se.impl.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:174)
             at com.sun.corba.se.impl.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:236)
             at com.sun.corba.se.impl.io.ValueHandlerImpl.writeValueWithVersion(ValueHandlerImpl.java:218)
             at com.sun.corba.se.impl.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:150)
             at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.writeRMIIIOPValueType(CDROutputStream_1_0.java:807)
             at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:856)
             at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:870)
             at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:665)
             at com.sun.corba.se.impl.encoding.CDROutputStream.write_value(CDROutputStream.java:250)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coffeys Sean Coffey
              Reporter:
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: