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

REGRESSION: JCK1.5-runtime api/java_rmi/server/RMISocketFactory/..#CreateSocket

XMLWordPrintable

    • tiger
    • generic, x86
    • generic, linux, solaris_8, windows_xp
    • Verified



      Name: mmR10223 Date: 08/27/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b16 (pass using JDK1.5.0-b15, JDK1.5.0-b28)
      JCK : JCK1.5-runtime
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/java_rmi/server/RMISocketFactory/index.html#CreateSocket [RMISocketFactory0006]


      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_rmi/server/RMISocketFactory/CreateSocketTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b16/jck15/win32/winXP_smp_client_esa_linux-21/workDir/api/java_rmi/server/RMISocketFactory/index_CreateSocket.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/bash

      JCK="h:/java/jck1.5/JCK-runtime-15"
      JDK="h:/java/jdk1.5.0/win32"
      CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"
       
      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.rmi.server.RMISocketFactory.CreateSocketTests -TestCaseID RMISocketFactory0006

      --- script end ---

      Test output:
      ============
      java.lang.IllegalArgumentException: protocol = socket host = null
      at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:42)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:336)
      at java.net.Socket.connect(Socket.java:487)
      at java.net.Socket.connect(Socket.java:437)
      at java.net.Socket.<init>(Socket.java:345)
      at java.net.Socket.<init>(Socket.java:160)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
      at javasoft.sqe.tests.api.java.rmi.server.RMISocketFactory.CreateSocketTests$2.run(CreateSocketTests.java:90)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:216)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:88)
      at javasoft.sqe.tests.api.java.rmi.server.RMISocketFactory.CreateSocketTests.RMISocketFactory0006(CreateSocketTests.java:100)
      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.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.rmi.server.RMISocketFactory.CreateSocketTests.main(CreateSocketTests.java:38)
      RMISocketFactory0006: Failed. Test case throws exception: java.lang.IllegalArgumentException: protocol = socket host = null

      Specific machine info:
      ======================
      Hostname: linux-21
      OS: Windows XP Home
      Hostname: linux-22
      OS: RedHat Linux 9.0 (GNOME)
      Hostname: linux-8
      OS: Solaris 10 (sparc)

      ======================================================================

            jccollet Jean-Christophe Collet (Inactive)
            mmvsunw Mmv Mmv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: