Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing command - 'SQLTools.getConnectionStatus' #7212

Open
ShimonBenYair opened this issue Feb 25, 2020 · 2 comments
Open

Missing command - 'SQLTools.getConnectionStatus' #7212

ShimonBenYair opened this issue Feb 25, 2020 · 2 comments
Labels
bug bugs found in the application commands issues related to application commands help wanted issues meant to be picked up, require help vscode issues related to VSCode compatibility

Comments

@ShimonBenYair
Copy link
Contributor

ShimonBenYair commented Feb 25, 2020

Description

When running Theia locally, an error is shown in the console:

root ERROR [hosted-plugin: 20233] Promise rejection not handled in one second: Error: Command with id 'SQLTools.getConnectionStatus' is not registered. , reason: Error: Command with id 'SQLTools.getConnectionStatus' is not registered.
With stack trace: Error: Command with id 'SQLTools.getConnectionStatus' is not registered.
    at CommandRegistryMainImpl.<anonymous> (http://localhost:3000/60.bundle.js:2027:35)
    at step (http://localhost:3000/60.bundle.js:1938:23)
    at Object.next (http://localhost:3000/60.bundle.js:1919:53)
    at http://localhost:3000/60.bundle.js:1913:71
    at new Promise (<anonymous>)
    at push.../../packages/plugin-ext/lib/main/browser/command-registry-main.js.__awaiter (http://localhost:3000/60.bundle.js:1909:12)
    at CommandRegistryMainImpl.push.../../packages/plugin-ext/lib/main/browser/command-registry-main.js.CommandRegistryMainImpl.$executeCommand (http://localhost:3000/60.bundle.js:2020:16)
    at RPCProtocolImpl.push.../../packages/plugin-ext/lib/common/rpc-protocol.js.RPCProtocolImpl.doInvokeHandler (http://localhost:3000/39.bundle.js:849:23)
    at RPCProtocolImpl.push.../../packages/plugin-ext/lib/common/rpc-protocol.js.RPCProtocolImpl.invokeHandler (http://localhost:3000/39.bundle.js:834:41)
    at RPCProtocolImpl.push.../../packages/plugin-ext/lib/common/rpc-protocol.js.RPCProtocolImpl.receiveRequest (http://localhost:3000/39.bundle.js:798:31)
root INFO [hosted-plugin: 20233] PLUGIN_HOST(20233): PluginManagerExtImpl/loadPlugin(/tmp/vscode-unpacked/helloworld-sample-1.0.51.vsix/extension/out/extension.js)

Reproduction Steps

  1. run Theia locally : git clone https://github.com/eclipse-theia/theia
    && cd theia
    && yarn
    && cd examples/browser
    && yarn run start

  2. The above error will be shown

@akosyakov akosyakov added bug bugs found in the application help wanted issues meant to be picked up, require help vscode issues related to VSCode compatibility commands issues related to application commands labels Feb 25, 2020
@akosyakov
Copy link
Member

You need to have sql vscode extension installed and follow How to test steps from #6803

@akosyakov
Copy link
Member

@ShimonBenYair already fixed? :)

@ShimonBenYair ShimonBenYair reopened this Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application commands issues related to application commands help wanted issues meant to be picked up, require help vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

2 participants