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

two iiop tests and 247 corba SQE tests failed at context rebind with IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 9-repo-jigsaw
    • other-libs

      This has been observed in jigsaw nightly runs. Two tests fail:
      javax/rmi/PortableRemoteObject/8146975/RmiIiopReturnValueTest.java
      javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java

      Please refer to test output below:
      ----------messages:(5/486)----------
      command: main -Djava.naming.provider.url=iiop://localhost:5050 -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory RmiIiopReturnValueTest -port 5049
      reason: User specified action: run main/othervm -Djava.naming.provider.url=iiop://localhost:5050 -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory RmiIiopReturnValueTest -port 5049
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.corba
      elapsed time (seconds): 24.494
      ----------configuration:(3/38)----------
      Boot Layer
        add modules: java.corba

      ----------System.out:(22/1586)----------

      Starting orbd with NS port 5050 and activation port 5049
      RmiIiopReturnValueTest: Executing: [/Users/aurora/CommonData/jdk/bin/orbd, -J-d64, -ORBInitialHost, localhost, -ORBInitialPort, 5050, -port, 5049]

      Starting RmiIiopServer
      RmiIiopReturnValueTest: Executing: [/Users/aurora/CommonData/jdk/bin/java, --add-modules, java.corba, -Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory, -Djava.naming.provider.url=iiop://localhost:5050, -cp, /Users/aurora/sandbox/gresults/testoutput/jdk_other/JTwork/classes/javax/rmi/PortableRemoteObject/8146975:/Users/aurora/sandbox/testbase/jdk/test/javax/rmi/PortableRemoteObject/8146975:/Users/aurora/sandbox/gresults/testoutput/jdk_other/JTwork/classes/lib/testlibrary:/Users/aurora/sandbox/testbase/jdk/test/lib/testlibrary:/Users/aurora/CommonData/jtreg/lib/javatest.jar:/Users/aurora/CommonData/jtreg/lib/jtreg.jar, HelloServer, -port, 5049]
      RmiIiopReturnValueTest.executeRmiIiopClient: HelloClient.executeRmiClientCall
      HelloClient.main: enter ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      HelloClient.main: HelloService lookup ...
      RmiIiopReturnValueTest.stopRmiIiopServer: destroy rmiServerProcess
      serverProcess exitCode:9
      RmiIiopReturnValueTest.stopOrbd: destroy orbdProcess
      orbd exitCode:9
      ----------System.err:(85/5723)----------
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      NameNotFoundException Caught .... try again
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      NameNotFoundException Caught .... try again
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      NameNotFoundException Caught .... try again
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      NameNotFoundException Caught .... try again
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      NameNotFoundException Caught .... try again
      java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:602)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:693)
      at java.corba@9-ea/com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:710)
      at java.naming/javax.naming.InitialContext.rebind(InitialContext.java:425)
      at HelloServer.main(HelloServer.java:42)
      NameNotFoundException Caught .... try again
      NameNotFoundException Caught .... try again
      NameNotFoundException Caught .... try again
      NameNotFoundException Caught .... try again
      NameNotFoundException Caught .... try again
      HelloClient terminating
      java.lang.RuntimeException: Expected Response not received
      at RmiIiopReturnValueTest.stopTestComponents(RmiIiopReturnValueTest.java:85)
      at RmiIiopReturnValueTest.main(RmiIiopReturnValueTest.java:67)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)

            Unassigned Unassigned
            xiaofeya Xiaofeng Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: