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

[Quarkus] Welcome page is empty #15113

Closed
svor opened this issue Nov 6, 2019 · 7 comments
Closed

[Quarkus] Welcome page is empty #15113

svor opened this issue Nov 6, 2019 · 7 comments
Labels
area/languages Issues related to Language extensions or plugins integration. kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@svor
Copy link
Contributor

svor commented Nov 6, 2019

While testing vscode-quarkus extension I detected a problem: if open Welcome page by Quarkus: Welcome command or it was opened automatically, It doesn't provide any information.

screenshot-che-che 192 168 99 104 nip io-2019 11 06-10_45_14

In the Output view I see error messages:

root ERROR [hosted-plugin: 26341] Promise rejection not handled in one second: TypeError: this._panel.webview.asWebviewUri is not a function
root ERROR [hosted-plugin: 26341] With stack trace: TypeError: this._panel.webview.asWebviewUri is not a function
    at c.getCssUri (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:119008)
    at c.<anonymous> (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:118707)
    at Generator.next (<anonymous>)
    at /tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:117610
    at new Promise (<anonymous>)
    at n (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:117387)
    at c.getWebviewContent (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:118561)
    at c.<anonymous> (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:118512)
    at Generator.next (<anonymous>)
    at /tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:117610
    at new Promise (<anonymous>)
    at n (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:117387)
    at c.setPanelHtml (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:118443)
    at new c (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:117835)
    at Function.createOrShow (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:219:118065)
    at e.subscriptions.push.s.commands.registerCommand (/tmp/vscode-unpacked/redhat.vscode-quarkus-1.1.1.vsix/extension/dist/extension.js:157:46121)
    at /home/vsvydenko/codenvy/theia/packages/plugin-ext/lib/plugin/command-registry.js:126:28
    at CommandRegistryImpl.<anonymous> (/home/vsvydenko/codenvy/theia/packages/plugin-ext/lib/plugin/command-registry.js:182:51)
    at step (/home/vsvydenko/codenvy/theia/packages/plugin-ext/lib/plugin/command-registry.js:51:23)
    at Object.next (/home/vsvydenko/codenvy/theia/packages/plugin-ext/lib/plugin/command-registry.js:32:53)
    at /home/vsvydenko/codenvy/theia/packages/plugin-ext/lib/plugin/command-registry.js:26:71
    at new Promise (<anonymous>)
root ERROR TypeError: Cannot read property 'style' of undefined
    at http://localhost:3000/45.bundle.js:2128:30
    at http://localhost:3000/bundle.js:113857:33
    at CallbackList.../../packages/core/lib/common/event.js.CallbackList.invoke (http://localhost:3000/bundle.js:113872:39)
    at Emitter.../../packages/core/lib/common/event.js.Emitter.fire (http://localhost:3000/bundle.js:113960:29)
    at HTMLDivElement.ApplicationShellMouseTracker.mousedownListener (http://localhost:3000/bundle.js:99218:79)
Che remote plugin with vscode-quarkus extension:

apiVersion: v2
publisher: redhat
name: quarkus
version: 1.1.1
type: VS Code extension
displayName: Quarkus Tools
title: Quarkus Tools by Red Hat
description: This plug-in provides support for Quarkus development via a Quarkus language server and a Quarkus jdt.ls extension.
icon: https://www.eclipse.org/che/images/logo-eclipseche.svg
repository: https://github.com/redhat-developer/vscode-quarkus
category: Language
firstPublicationDate: "2019-11-05"
spec:
  containers:
    - image: "docker.io/eclipse/che-remote-plugin-runner-java11:next"
      name: vscode-quarkus
      memoryLimit: "1500Mi"
      volumes:
      - mountPath: "/home/theia/.m2"
        name: m2
  extensions:
    - https://github.com/microsoft/vscode-java-debug/releases/download/0.20.0/vscode-java-debug-0.20.0.vsix
    - https://download.jboss.org/jbosstools/static/jdt.ls/stable/java-0.50.0-1825.vsix
    - https://download.jboss.org/jbosstools/vscode/snapshots/vscode-quarkus/vscode-quarkus-1.1.1-158.vsix

@svor svor added kind/bug Outline of a bug - must adhere to the bug report template. area/languages Issues related to Language extensions or plugins integration. labels Nov 6, 2019
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Nov 6, 2019
@tsmaeder tsmaeder mentioned this issue Nov 6, 2019
25 tasks
@fbricon
Copy link

fbricon commented Nov 6, 2019

depends on a version of the vscode API not available in Theia?

@tsmaeder
Copy link
Contributor

tsmaeder commented Nov 6, 2019

Anton Kosyakov has a WIP PR for this problem: eclipse-theia/theia#6465

@tsmaeder
Copy link
Contributor

tsmaeder commented Nov 6, 2019

We could help him by testing the PR and reviewing changes.

@benoitf
Copy link
Contributor

benoitf commented Nov 6, 2019

setting milestone 7.5.0 as it's your sprint @tsmaeder

@benoitf benoitf added severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Nov 6, 2019
@akosyakov
Copy link

@svor @tsmaeder please try! 🙏

@tsmaeder
Copy link
Contributor

tsmaeder commented Nov 8, 2019

@akosyakov we'll have to punt this to the next sprint for capacity reasons, sorry.

@svor
Copy link
Contributor Author

svor commented Dec 4, 2019

fixed by eclipse-theia/theia#6465

@svor svor closed this as completed Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/languages Issues related to Language extensions or plugins integration. kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants