JDK-8153314 : java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java.CheckActivateRef fails intermittently
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • Submitted: 2016-04-01
  • Updated: 2016-04-04
  • Resolved: 2016-04-04
Related Reports
Duplicate :  
Description
java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java.CheckActivateRef  fails intermittently


java.security.policy = =/scratch/jenkins/workspace/9-dev-tier3-mac/JTwork/jdk_test/scratch/7/security.policy_new
RMID: Starting rmid on port 53210.
JAVAVM: command = [/scratch/jenkins/workspace/9-dev-tier3-mac/build/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/jenkins/workspace/9-dev-tier3-mac/jdk/test/java/rmi/activation/Activatable/checkActivateRef/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/jenkins/workspace/9-dev-tier3-mac/jdk/test/java/rmi/activation/Activatable/checkActivateRef, -Dtest.classes=/scratch/jenkins/workspace/9-dev-tier3-mac/JTwork/jdk_test/classes/1/java/rmi/activation/Activatable/checkActivateRef, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /scratch/jenkins/workspace/9-dev-tier3-mac/JTwork/jdk_test/scratch/7/./log, -port, 53210, -C-Dtest.src=/scratch/jenkins/workspace/9-dev-tier3-mac/jdk/test/java/rmi/activation/Activatable/checkActivateRef, -C-Dtest.classes=/scratch/jenkins/workspace/9-dev-tier3-mac/JTwork/jdk_test/classes/1/java/rmi/activation/Activatable/checkActivateRef, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false]
TEST FAILED: 
Test failed with: null
java.lang.NullPointerException
	at sun.rmi.server.UnicastServerRef.dispatch(java.rmi@9-ea/UnicastServerRef.java:290)
	at sun.rmi.transport.Transport$1.run(java.rmi@9-ea/Transport.java:200)
	at sun.rmi.transport.Transport$1.run(java.rmi@9-ea/Transport.java:197)
	at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
	at sun.rmi.transport.Transport.serviceCall(java.rmi@9-ea/Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(java.rmi@9-ea/TCPTransport.java:563)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(java.rmi@9-ea/TCPTransport.java:821)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(java.rmi@9-ea/TCPTransport.java:678)
	at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(java.rmi@9-ea/TCPTransport.java:677)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(java.rmi@9-ea/StreamRemoteCall.java:276)
	at sun.rmi.transport.StreamRemoteCall.executeCall(java.rmi@9-ea/StreamRemoteCall.java:253)
	at sun.rmi.server.UnicastRef.invoke(java.rmi@9-ea/UnicastRef.java:162)
	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(java.rmi@9-ea/RemoteObjectInvocationHandler.java:209)
	at java.rmi.server.RemoteObjectInvocationHandler.invoke(java.rmi@9-ea/RemoteObjectInvocationHandler.java:161)
	at com.sun.proxy.$Proxy0.lookup(Unknown Source)
	at RMID.lookupSystem(RMID.java:226)
	at RMID.start(RMID.java:281)
	at RMID.start(RMID.java:237)
	at CheckActivateRef.main(CheckActivateRef.java:122)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
RMID: shutdown()
RMID: ActivationSystem.shutdown()
activation daemon shut down
RMID: Shutdown successful after 580ms.
RMID: Removing rmid's old log file.
TestFailedException: TEST FAILED: ; nested exception is: 
	java.lang.NullPointerException
java.lang.NullPointerException
	at sun.rmi.server.UnicastServerRef.dispatch(java.rmi@9-ea/UnicastServerRef.java:290)
	at sun.rmi.transport.Transport$1.run(java.rmi@9-ea/Transport.java:200)
	at sun.rmi.transport.Transport$1.run(java.rmi@9-ea/Transport.java:197)
	at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
	at sun.rmi.transport.Transport.serviceCall(java.rmi@9-ea/Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(java.rmi@9-ea/TCPTransport.java:563)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(java.rmi@9-ea/TCPTransport.java:821)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(java.rmi@9-ea/TCPTransport.java:678)
	at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(java.rmi@9-ea/TCPTransport.java:677)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(java.rmi@9-ea/StreamRemoteCall.java:276)
	at sun.rmi.transport.StreamRemoteCall.executeCall(java.rmi@9-ea/StreamRemoteCall.java:253)
	at sun.rmi.server.UnicastRef.invoke(java.rmi@9-ea/UnicastRef.java:162)
	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(java.rmi@9-ea/RemoteObjectInvocationHandler.java:209)
	at java.rmi.server.RemoteObjectInvocationHandler.invoke(java.rmi@9-ea/RemoteObjectInvocationHandler.java:161)
	at com.sun.proxy.$Proxy0.lookup(Unknown Source)
	at RMID.lookupSystem(RMID.java:226)
	at RMID.start(RMID.java:281)
	at RMID.start(RMID.java:237)
	at CheckActivateRef.main(CheckActivateRef.java:122)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: ; nested exception is: 
	java.lang.NullPointerException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: ; nested exception is: java.lang.NullPointerException
Comments
This looks like the same failure as JDK-8042390.
04-04-2016

Add "Intermittent" tag since this test failed 2 times in the last 30 runs. Stability: 93 %
01-04-2016