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

sun/tools/jstatd/TestJstatdExternalRegistry.java failing with "attempt to add a Permission..." (again)

    Details

      Description


      This is not a dup JDK-8027752, rather just reporting that this test is still failing intermittently. A sample jtr is attached, I've seen 3 other failures like this since JDK-8027752, was pushed.

      #Test Results (version 2)
      #Sat Nov 09 14:09:01 GMT 2013
      #checksum:65e8271d03076ff1
      #-----testdescription-----
      $file=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/TestJstatdExternalRegistry.java
      $root=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test
      keywords=bug4990825 bug7092186
      library=/lib/testlibrary
      maxTimeout=60
      run=USER_SPECIFIED build JstatdTest JstatGCUtilParser\nUSER_SPECIFIED main/timeout\=60 TestJstatdExternalRegistry\n
      source=TestJstatdExternalRegistry.java
      title=\

      #-----environment-----

      #-----testresult-----
      description=file\:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/TestJstatdExternalRegistry.java
      elapsed=1529 0\:00\:01.529
      end=Sat Nov 09 14\:09\:01 GMT 2013
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Should get an empty output, got\: Could not create remote object attempt to add a Permission to a readonly Permissions object java.lang.SecurityException\: attempt to add a Permission to a readonly Permissions object at java.security.Permissions.add(Permissions.java\:126) at java.security.Policy$UnsupportedEmptyCollection.add(Policy.java\:827) at sun.rmi.server.LoaderHandler.getLoaderAccessControlContext(LoaderHandler.java\:1005) at sun.rmi.server.LoaderHandler.lookupLoader(LoaderHandler.java\:881) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java\:564) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java\:646) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java\:311) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java\:255) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java\:1559) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java\:1515) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java\:1774) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java\:1351) at java.io.ObjectInputStream.readObject(ObjectInputStream.java\:371) at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java\:410) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java\:268) at sun.rmi.transport.Transport$1.run(Transport.java\:178) at sun.rmi.transport.Transport$1.run(Transport.java\:175) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java\:174) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java\:557) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java\:812) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java\:671) 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\:744) 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\:379) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java\:177) at sun.tools.jstatd.Jstatd.bind(Jstatd.java\:57) at sun.tools.jstatd.Jstatd.main(Jstatd.java\:143)
      hostname=ashtown.ie.oracle.com
      javatestOS=Linux 3.2.0-23-generic (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 dev b00
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile build compile main
      start=Sat Nov 09 14\:08\:59 GMT 2013
      test=sun/tools/jstatd/TestJstatdExternalRegistry.java
      user.name=jenkins
      work=/data/jenkins/workspace/jdk8-tl-test/JTwork/sun/tools/jstatd

      #section:script_messages
      ----------messages:(5/312)----------
      JDK under test: (/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-jenkins_2013_11_09_06_06-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b57, mixed mode)


      #section:build
      ----------messages:(3/145)----------
      command: build JstatdTest JstatGCUtilParser
      reason: User specified action: run build JstatdTest JstatGCUtilParser
      elapsed time (seconds): 0.179
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/351)----------
      command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/JstatdTest.java /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/JstatGCUtilParser.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.179
      ----------rerun:(21/2569)*----------
      HOME=/var/lib/jenkins \\
      LANG=en_IE.UTF-8 \\
      PATH=/bin:/usr/bin \\
          /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\
              -J-ea \\
              -J-esa \\
              -J-Xmx256m \\
              -J-DCompatibilityTest.disableNetwork=true \\
              -J-XX:-UseLargePages \\
              -J-Dtest.vm.opts='-ea -esa -Xmx256m -DCompatibilityTest.disableNetwork=true -XX:-UseLargePages' \\
              -J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd \\
              -J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/lib/testlibrary \\
              -J-Dtest.compiler.opts= \\
              -J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd \\
              -J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/lib/testlibrary \\
              -J-Dtest.java.opts= \\
              -J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd \\
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-DCompatibilityTest.disableNetwork=true -J-XX:-UseLargePages' \\
              -d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/lib/testlibrary -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/JstatdTest.java /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/JstatGCUtilParser.java
      ----------direct:(2/221)----------
      Note: /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/lib/testlibrary/jdk/testlibrary/StreamPumper.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/111)----------
      command: build TestJstatdExternalRegistry
      reason: Named class compiled on demand
      elapsed time (seconds): 0.011
      result: Passed. Build successful

      #section:compile
      ----------messages:(3/250)----------
      command: compile -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/TestJstatdExternalRegistry.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.011
      ----------rerun:(21/2468)*----------
      HOME=/var/lib/jenkins \\
      LANG=en_IE.UTF-8 \\
      PATH=/bin:/usr/bin \\
          /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/javac \\
              -J-ea \\
              -J-esa \\
              -J-Xmx256m \\
              -J-DCompatibilityTest.disableNetwork=true \\
              -J-XX:-UseLargePages \\
              -J-Dtest.vm.opts='-ea -esa -Xmx256m -DCompatibilityTest.disableNetwork=true -XX:-UseLargePages' \\
              -J-Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd \\
              -J-Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -J-Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/lib/testlibrary \\
              -J-Dtest.compiler.opts= \\
              -J-Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -J-Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd \\
              -J-Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/lib/testlibrary \\
              -J-Dtest.java.opts= \\
              -J-Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd \\
              -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-DCompatibilityTest.disableNetwork=true -J-XX:-UseLargePages' \\
              -d /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar -sourcepath /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/lib/testlibrary -XDignore.symbol.file=true /data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/TestJstatdExternalRegistry.java
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/150)----------
      command: main TestJstatdExternalRegistry
      reason: User specified action: run main/timeout=60 TestJstatdExternalRegistry
      elapsed time (seconds): 1.338
      ----------rerun:(17/1915)*----------
      HOME=/var/lib/jenkins \\
      LANG=en_IE.UTF-8 \\
      PATH=/bin:/usr/bin \\
          /data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java \\
              -Dtest.vm.opts='-ea -esa -Xmx256m -DCompatibilityTest.disableNetwork=true -XX:-UseLargePages' \\
              -Dtest.class.path.prefix=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd \\
              -Dtest.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -Dtest.src.path=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/lib/testlibrary \\
              -Dtest.compiler.opts= \\
              -Dcompile.jdk=/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image \\
              -Dtest.classes=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd \\
              -Dtest.class.path=/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/lib/testlibrary \\
              -Dtest.java.opts= \\
              -Dtest.src=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd \\
              -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx256m -J-DCompatibilityTest.disableNetwork=true -J-XX:-UseLargePages' \\
              -classpath /data/jenkins/workspace/jdk8-tl-test/JTwork/classes/2/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd:/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/lib/tools.jar \\
              TestJstatdExternalRegistry
      ----------System.out:(21/1043)----------
      Start rmiregistry on port 53992

      Start jstatd:
      [/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/jstatd -J-XX:+UsePerfData -J-Djava.security.policy=/data/jenkins/jobs/jdk8-tl-build/builds/2013-11-09_06-03-58/archive/jdk/test/sun/tools/jstatd/all.policy -p 53992]

      Start jps:
      [/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/jps -J-XX:+UsePerfData ashtown:53992]
      RMI Server JStatRemoteHost not available

      Waiting until jstatd is running...

      Start jps:
      [/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/jps -J-XX:+UsePerfData ashtown:53992]
      RMI Server JStatRemoteHost not available

      Waiting until jstatd is running...

      Start jps:
      [/data/jenkins/jobs/jdk8-tl-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/jps -J-XX:+UsePerfData ashtown:53992]
      RMI Server JStatRemoteHost not available

      ----------System.err:(48/2985)----------
      java.lang.RuntimeException: Should get an empty output, got:
      Could not create remote object
      attempt to add a Permission to a readonly Permissions object
      java.lang.SecurityException: attempt to add a Permission to a readonly Permissions object
      at java.security.Permissions.add(Permissions.java:126)
      at java.security.Policy$UnsupportedEmptyCollection.add(Policy.java:827)
      at sun.rmi.server.LoaderHandler.getLoaderAccessControlContext(LoaderHandler.java:1005)
      at sun.rmi.server.LoaderHandler.lookupLoader(LoaderHandler.java:881)
      at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:564)
      at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:646)
      at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:311)
      at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:255)
      at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1559)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
      at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
      at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:410)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:268)
      at sun.rmi.transport.Transport$1.run(Transport.java:178)
      at sun.rmi.transport.Transport$1.run(Transport.java:175)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
      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:744)
      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:379)
      at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
      at java.rmi.Naming.rebind(Naming.java:177)
      at sun.tools.jstatd.Jstatd.bind(Jstatd.java:57)
      at sun.tools.jstatd.Jstatd.main(Jstatd.java:143)

      at jdk.testlibrary.Asserts.error(Asserts.java:392)
      at jdk.testlibrary.Asserts.assertTrue(Asserts.java:377)
      at jdk.testlibrary.ProcessThread$ProcessRunnable.xrun(ProcessThread.java:130)
      at jdk.testlibrary.XRun.run(XRun.java:40)
      at java.lang.Thread.run(Thread.java:744)
      at jdk.testlibrary.TestThread.run(TestThread.java:126)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Should get an empty output, got: Could not create remote object attempt to add a Permission to a readonly Permissions object java.lang.SecurityException: attempt to add a Permission to a readonly Permissions object at java.security.Permissions.add(Permissions.java:126) at java.security.Policy$UnsupportedEmptyCollection.add(Policy.java:827) at sun.rmi.server.LoaderHandler.getLoaderAccessControlContext(LoaderHandler.java:1005) at sun.rmi.server.LoaderHandler.lookupLoader(LoaderHandler.java:881) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:564) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:646) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:311) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:255) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1559) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371) at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:410) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:268) at sun.rmi.transport.Transport$1.run(Transport.java:178) at sun.rmi.transport.Transport$1.run(Transport.java:175) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:174) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671) 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:744) 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:379) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:177) at sun.tools.jstatd.Jstatd.bind(Jstatd.java:57) at sun.tools.jstatd.Jstatd.main(Jstatd.java:143)


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Should get an empty output, got: Could not create remote object attempt to add a Permission to a readonly Permissions object java.lang.SecurityException: attempt to add a Permission to a readonly Permissions object at java.security.Permissions.add(Permissions.java:126) at java.security.Policy$UnsupportedEmptyCollection.add(Policy.java:827) at sun.rmi.server.LoaderHandler.getLoaderAccessControlContext(LoaderHandler.java:1005) at sun.rmi.server.LoaderHandler.lookupLoader(LoaderHandler.java:881) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:564) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:646) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:311) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:255) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1559) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371) at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:410) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:268) at sun.rmi.transport.Transport$1.run(Transport.java:178) at sun.rmi.transport.Transport$1.run(Transport.java:175) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:174) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671) 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:744) 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:379) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:177) at sun.tools.jstatd.Jstatd.bind(Jstatd.java:57) at sun.tools.jstatd.Jstatd.main(Jstatd.java:143)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: