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

TEST_BUG: java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java fails intermittently with NullPointerException

    Details

      Description

      TESTFAIL:java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java

      The test java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java failed on solaris platform in nightly

      ----------System.err:(82/5793)----------

      Regression test for bug 4105080

      java.security.policy = =/Users/aurora/sandbox/gresults/testoutput/jdk_rmi/JTwork/scratch/security.policy_new
      RMID: starting rmid on port #45337...
      JAVAVM: command = [/Users/aurora/CommonData/jdk/jre/bin/java, -d64, -ea, -esa, -Xmx512m, -Djava.security.policy=/Users/aurora/sandbox/testbase/test/java/rmi/activation/Activatable/checkActivateRef/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/Users/aurora/sandbox/testbase/test/java/rmi/activation/Activatable/checkActivateRef, -Dtest.classes=/Users/aurora/sandbox/gresults/testoutput/jdk_rmi/JTwork/classes/java/rmi/activation/Activatable/checkActivateRef, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, sun.rmi.server.Activation, -log, /Users/aurora/sandbox/gresults/testoutput/jdk_rmi/JTwork/scratch/./log, -port, 45337, -C-Dtest.src=/Users/aurora/sandbox/testbase/test/java/rmi/activation/Activatable/checkActivateRef, -C-Dtest.classes=/Users/aurora/sandbox/gresults/testoutput/jdk_rmi/JTwork/classes/java/rmi/activation/Activatable/checkActivateRef, -C-d64, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false]
      RMID: rmid not started, will retry for 9900ms
      RMID: rmid not started, will retry for 9800ms
      TEST FAILED:
      Test failed with: null
      java.lang.NullPointerException
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:290)
      at sun.rmi.transport.Transport$1.run(Transport.java:179)
      at sun.rmi.transport.Transport$1.run(Transport.java:176)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:175)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
      at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      at com.sun.proxy.$Proxy0.lookup(Unknown Source)
      at RMID.lookupSystem(RMID.java:236)
      at RMID.start(RMID.java:273)
      at RMID.start(RMID.java:219)
      at CheckActivateRef.main(CheckActivateRef.java:117)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)
      RMID: testlibrary finished shutting down rmid
      activation daemon shut down
      RMID: RMID's process still not terminated after more than 200 milliseconds
      RMID: RMID's process still not terminated after more than 400 milliseconds
      RMID: RMID's process still not terminated after more than 600 milliseconds
      RMID: rmid exited on shutdown request
      ACTIVATION_LIBRARY: finished destroying rmid
      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(UnicastServerRef.java:290)
      at sun.rmi.transport.Transport$1.run(Transport.java:179)
      at sun.rmi.transport.Transport$1.run(Transport.java:176)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:175)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
      at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      at com.sun.proxy.$Proxy0.lookup(Unknown Source)
      at RMID.lookupSystem(RMID.java:236)
      at RMID.start(RMID.java:273)
      at RMID.start(RMID.java:219)
      at CheckActivateRef.main(CheckActivateRef.java:117)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                msheppar Mark Sheppard
                Reporter:
                ewang Eric Wang (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated: