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

test/langtools/jdk/jshell/FailOverExecutionControlTest.java fails No ExecutionControlProvider with name 'nonExistent' and parameter keys: []

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b30

      Backports

        Description

        ----------System.out:(71/4425)----------
        [TestNG] Running:
          jdk/jshell/FailOverExecutionControlTest.java

        config FailOverExecutionControlTest.setUp(): success
        test ExecutionControlTestBase.classesDeclaration(): success
        config KullaTesting.tearDown(): success
        config FailOverExecutionControlTest.setUp(): success
        test ExecutionControlTestBase.interfaceTest(): success
        config KullaTesting.tearDown(): success
        config FailOverExecutionControlTest.setUp(): success
        test ExecutionControlTestBase.methodOverload(): success
        config KullaTesting.tearDown(): success
        config FailOverExecutionControlTest.setUp(): success
        test ExecutionControlTestBase.testExprSanity(): success
        config KullaTesting.tearDown(): success
        config FailOverExecutionControlTest.setUp(): failure
        java.lang.IllegalStateException: Launching JShell execution engine threw: No ExecutionControlProvider with name 'nonExistent' and parameter keys: []
        at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:139)
        at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405)
        at KullaTesting.setUp(KullaTesting.java:197)
        at FailOverExecutionControlTest.setUp(FailOverExecutionControlTest.java:43)
        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:564)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
        at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
        at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:585)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
        at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
        at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
        at org.testng.TestRunner.privateRun(TestRunner.java:773)
        at org.testng.TestRunner.run(TestRunner.java:623)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
        at org.testng.SuiteRunner.run(SuiteRunner.java:259)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
        at org.testng.TestNG.run(TestNG.java:1018)
        at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
        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:564)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:832)
        Caused by: java.lang.IllegalArgumentException: No ExecutionControlProvider with name 'nonExistent' and parameter keys: []
        at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:183)
        at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:296)
        at jdk.jshell/jdk.jshell.execution.FailOverExecutionControlProvider.generate(FailOverExecutionControlProvider.java:103)
        at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:179)
        at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:296)
        at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:136)

        Other failures list other names e.g "failover" and other keys.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rfield Robert Field
                Reporter:
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: