JDK-6384126 : NPE from SharedCDRClientRequestDispatcherImpl
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba:idl
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris
  • CPU: generic
  • Submitted: 2006-02-10
  • Updated: 2018-03-20
  • Resolved: 2018-03-20
Related Reports
Relates :  
Relates :  
Description
The NPE above has been seen several times while running some several hours long tests.
That means it is not so easy to reproduce but it surely occurs let's say once a week according tests run every day.

....java.lang.NullPointerException
    at com.sun.corba.se.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:178)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    at com.sun.jmx.remote.internal.ProxyStub._invoke(Unknown Source)
    at org.omg.stub.javax.management.remote.rmi._RMIConnection_Stub.getConnectionId(Unknown Source)
    at javax.management.remote.rmi.RMIConnector.getConnectionId(RMIConnector.java:338)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:300)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
    at javasoft.sqe.jmx.test.perf_footprint.MemoryLeakTest.doAction(MemoryLeakTest.java:248)
    at javasoft.sqe.jmx.test.perf_footprint.MemoryLeakTest.run(MemoryLeakTest.java:150)
    at javasoft.sqe.jmx.share.TestStarter.<init>(TestStarter.java:40)
    at javasoft.sqe.jmx.share.TestStarter.main(TestStarter.java:98)

Comments
The CORBA and Java EE modules have been removed from JDK 11, therefore there are no plans to address this issue.
20-03-2018

EVALUATION This will require some more investigation. SharedCDRClientRequestDispatchImpl line 178 is cdrOutputObject.getMessageHeader().setSize( bbwi.byteBuffer, bbwi.getSize()) so where is the NPE? My guess is that probably getMessageHeader() returns null, but why that could occur will require more investigation.
12-08-2006