JDK-6610298 : NPE from JMX IIOP Connector
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2007-09-27
  • Updated: 2023-12-14
  • Resolved: 2011-12-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
Description
An operation on a JMX iiop connector may get a NullpointerException because of a synchronization problem from the IIOP implementation: 6360330 

For example, when testing our event service, we got:
    [exec] STDERR:
    [exec] java.lang.NullPointerException
    [exec]     at com.sun.corba.se.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:178)
    [exec]     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
    [exec]     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    [exec]     at com.sun.jmx.remote.internal.ProxyStub._invoke(Unknown Source)
    [exec]     at org.omg.stub.javax.management.remote.rmi._RMIConnection_Stub.invoke(Unknown Source)
    [exec]     at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:1032)
    [exec]     at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:330)
    [exec]     at $Proxy1.removeListener(Unknown Source)
    [exec]     at javax.management.event.EventClient.removeListener(EventClient.java:1068)
    [exec]     at javax.management.event.EventClient.removeNotificationListener(EventClient.java:512)
    [exec]     at AddRemoveListenerTest.test(AddRemoveListenerTest.java:205)
    [exec]     at AddRemoveListenerTest.access$100(AddRemoveListenerTest.java:56)
    [exec]     at AddRemoveListenerTest$Job.run(AddRemoveListenerTest.java:166)
    [exec]     at java.lang.Thread.run(Thread.java:619)
    [exec] STATUS:Failed.`main' threw exception: java.lang.NullPointerException

Comments
EVALUATION This is most likely a duplicate of 7091388. CDROutputStream is closed out too early causing a null pointer reference. The submitter can reopen if 7091388 fix doesn't solve the issue.
13-12-2011

EVALUATION We need to wait 6360330 fix from iiop team.
27-09-2007