JDK-6637818 : NIGHTLY: Two JCK tests throw NPE due to changes in com.sun.corba.se.internal.corba.ClientDelegate.ja
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba:idl
  • Affected Version: 1.4.2_18
  • Priority: P1
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2007-12-05
  • Updated: 2011-01-19
  • Resolved: 2008-12-04
Related Reports
Relates :  
Description
JCK 1.4.2
JDK 1.4.2 u18 Nightly build 

Two JCK tests:
api/org_omg/PortableInterceptor/ClientRequestInfo/index.html#RIMethods  rimethods0027
api/org_omg/PortableServer/POA/index.html#fromTo  fromTo0002

fail with NPE on all platforms.  For example:

Using AllPermissionSM.
Using AllPermissionSM.
java.lang.NullPointerException
	at com.sun.corba.se.internal.corba.ClientDelegate.releaseReply(ClientDelegate.java:694)
	at org.omg.CORBA.portable.ObjectImpl._releaseReply(ObjectImpl.java:474)
	at javasoft.sqe.tests.api.org.omg.PortableServer.POA._POATestStub.getKey(_POATestStub.java:37)
	at javasoft.sqe.tests.api.org.omg.PortableServer.POA.fromToTests.fromTo0002(fromToTests.java:120)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
	at javasoft.sqe.jck.lib.CORBATest.access$001(CORBATest.java:43)
	at javasoft.sqe.jck.lib.CORBATest$1.run(CORBATest.java:99)
	at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:301)
	at javasoft.sqe.jck.lib.CORBATest.invokeTestCase(CORBATest.java:128)
	at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
	at javasoft.sqe.jck.lib.CORBATest.run(CORBATest.java:68)
	at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
	at javasoft.sqe.tests.api.org.omg.PortableServer.POA.fromToTests.main(fromToTests.java:39)
Using AllPermissionSM.
Using AllPermissionSM.
Using AllPermissionSM.
Using AllPermissionSM.
Using AllPermissionSM.
----------log:(8/324)----------
fromTo0001: Passed. OKAY
fromTo0002: Failed. Test case throws exception: java.lang.NullPointerException
fromTo0003: Passed. OKAY
fromTo0004: Passed. OKAY
fromTo0005: Passed. OKAY
fromTo0006: Passed. OKAY
fromTo0007: Passed. OKAY

Comments
EVALUATION nightly failed in previous 142_22 pool ws. As fix # 6435198 was backed out, this failure is no longer reproducible.
04-12-2008

EVALUATION NOTE: DO not place this in 1.4.2_XX pool. Ideally it would have a 1.4.2_18-rev target as well to indicate it's resolution there.
27-11-2008

EVALUATION putback for 6435198 has caused this JCK failure. Back out the fix of 6435198 resolve this issue.
19-12-2007