Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2067

Debug during a devfile test fails with 'no delegateCommandHandler'

    XMLWordPrintable

Details

    • False
    • False
    • Release Notes
    • Hide
      = No delegateCommandHandler error for Java with the JBoss EAP 7.3 devfile

      Currently, a workspace using Java with the JBoss EAP 7.3 devfile fails with the following error message: *No delegateCommandHandler for `vscode.java.startDebugSession`.* There is currently no workaround for this issue.
      Show
      = No delegateCommandHandler error for Java with the JBoss EAP 7.3 devfile Currently, a workspace using Java with the JBoss EAP 7.3 devfile fails with the following error message: *No delegateCommandHandler for `vscode.java.startDebugSession`.* There is currently no workaround for this issue.
    • Known Issue
    • Rejected

    Description

      During running the load tests and testing "Java with JBoss EAP 7.3" devfile I faced this issue. There are tons of WARNING and SEVERE logs in the browser log (see attached file). Happens in ~2/100 tests.

      The test fails on a debug step - it set up a breakpoint, then runs a debug and fails while waiting for the terminal to appear.

      Probably related part of logs is:

      "SEVERE" "" "https://routeva0qgi2m-user5-codeready.apps.ocp47-load-aws.crw-qe.com/theia.35ed7b5de330ad1fad82.js 0:1342798 "root ERROR Error starting the debug session" "Error: It is not possible to provide debug adapter executable.\n    at DebugExtImpl.\u003Canonymous> (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:723:39)\n    at step (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:33:23)\n    at Object.next (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:14:53)\n    at fulfilled (/remote-endpoint/node_modules/@theia/plugin-ext/lib/plugin/node/debug/debug.js:5:58)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)""
      "SEVERE" "" "https://routeva0qgi2m-user5-codeready.apps.ocp47-load-aws.crw-qe.com/theia.35ed7b5de330ad1fad82.js 0:2671418 Uncaught Error: It is not possible to provide debug adapter executable."
      "SEVERE" "" "https://routeva0qgi2m-user5-codeready.apps.ocp47-load-aws.crw-qe.com/theia.35ed7b5de330ad1fad82.js 0:1342798 "root ERROR Notification handler 'connected' failed with message: Cannot read property 'apply' of undefined""
      

      Artifacts from this test run are here.

      Upstream issue #19880

      Attachments

        Activity

          People

            vsvydenk Valerii Svydenko
            kkanova Kateřina Foniok
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: