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

Error when try to start Theia with eclipse-cdt plugin #5993

Closed
tolusha opened this issue Aug 20, 2019 · 4 comments
Closed

Error when try to start Theia with eclipse-cdt plugin #5993

tolusha opened this issue Aug 20, 2019 · 4 comments
Assignees
Labels
bug bugs found in the application plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility
Milestone

Comments

@tolusha
Copy link
Contributor

tolusha commented Aug 20, 2019

Description

Error when try to start Theia with eclipse-cdt plugin

Reference issue

eclipse-che/che#14290

Reproduction Steps

  1. Put extension [1] in the plugin folder.
  2. Start Theia
  3. Observe the error below

OS and Theia version:
Linux, Theia latest

Diagnostics:
Stack tracke

root ERROR Uncaught Exception:  TypeError: Cannot read property 'versions' of undefined
root ERROR TypeError: Cannot read property 'versions' of undefined
    at Request._callback (/home/tolusha/projects/theia-ide/theia/packages/plugin-ext-vscode/lib/node/plugin-vscode-resolver.js:129:55)
    at Request.self.callback (/home/tolusha/projects/theia-ide/theia/node_modules/request/request.js:185:22)
    at Request.emit (events.js:189:13)
    at Request.<anonymous> (/home/tolusha/projects/theia-ide/theia/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:189:13)
    at IncomingMessage.<anonymous> (/home/tolusha/projects/theia-ide/theia/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:277:13)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1125:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
root ERROR Uncaught Exception:  Error: No extension
root ERROR Error: No extension
    at Request._callback (/home/tolusha/projects/theia-ide/theia/packages/plugin-ext-vscode/lib/node/plugin-vscode-resolver.js:120:44)
    at Request.self.callback (/home/tolusha/projects/theia-ide/theia/node_modules/request/request.js:185:22)
    at Request.emit (events.js:189:13)
    at Request.<anonymous> (/home/tolusha/projects/theia-ide/theia/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:189:13)
    at IncomingMessage.<anonymous> (/home/tolusha/projects/theia-ide/theia/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:277:13)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1125:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

[1] https://github.com/che-incubator/che-cpptools/releases/download/v1.0/cdt-vscode-0.0.7.vsix

@tsmaeder
Copy link
Contributor

@tolusha "latest" meaing the latest release version or master? Also, does the CDT plugin work with the 7.0.0 branch?

@tolusha
Copy link
Contributor Author

tolusha commented Aug 27, 2019

"latest" means master.
And they worked fine with 7.0.0 branch

@vinokurig
Copy link
Contributor

vinokurig commented Sep 2, 2019

Now the Error is:

root ERROR Failed to resolve plugins from 'vscode:extension/eclipse-cdt.cdt-gdb-vscode' Error: No extension
    at Request._callback (/home/ivinokur/projects/theia/packages/plugin-ext-vscode/lib/node/plugin-vscode-resolver.js:121:44)
    at Request.init.self.callback (/home/ivinokur/projects/theia/node_modules/request/request.js:185:22)
    at Request.emit (events.js:198:13)
    at Request.<anonymous> (/home/ivinokur/projects/theia/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:198:13)
    at IncomingMessage.<anonymous> (/home/ivinokur/projects/theia/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:286:20)
    at IncomingMessage.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Which is expected because there is no eclipse-cdt.cdt-gdb-vscode extension in the vscode marketplace.
If all necessary plugins are installed manually the extension should be successfully installed as well @tolusha Could you please check it with the latest changes?

@tolusha
Copy link
Contributor Author

tolusha commented Sep 3, 2019

I can't reproduce this issue anymore

@tolusha tolusha closed this as completed Sep 3, 2019
@tolusha tolusha self-assigned this Sep 3, 2019
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 plug-in system issues related to the plug-in system vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

4 participants