Skip to content

che-theia fails with redhat/java8/latest plugin #20360

@vitaliy-guliy

Description

@vitaliy-guliy

Describe the bug

It's impossible to properly start a workspace if there is redhat/java8/latest plugin in the devfile.
The bug is reproducible only if build che-theia, based on eclipse-theia/theia/master.

The problem does not depend on the infrastructure and the installation method.

Che version

latest

Steps to reproduce

  • Build che-theia image
  1. build che-theia:next image, using eclipse-che/che-theia/main and eclipse-theia/theia/master
  2. create a minimal devfile, use built che-theia and latest redhat/java8 plugin.
  3. start a workspace, open browser console, check errors

You will not be able to see My Workspace and other views, that contributed by plugins. The most of plugins at this point are not properly started.

  • Do not build anything, just run prepared devfile
apiVersion: 1.0.0
metadata:
  name: minimal-workspace
projects:
  - name: web-java-spring-petclinic
    source:
      location: 'https://github.com/che-samples/java-spring-petclinic'
      type: git
components:
  - type: cheEditor
    alias: che-theia
    reference: https://gist.githubusercontent.com/vitaliy-guliy/261c8e37493c20d6504701c537a146e0/raw/24606999f923183f992f34d6617f570dd7e0858c/editor.meta.yaml
  - id: redhat/java8/latest
    type: chePlugin

Expected behavior

Plugin system must be working.

Runtime

other (please specify in additional context)

Screenshots

Screenshot from 2021-08-25 19-38-53

There are few unexpected errors, which could be reason of failure
Screenshot from 2021-08-25 20-32-29

Screenshot from 2021-08-25 20-32-35

There is a similar error on che-theia backend
Screenshot from 2021-08-25 20-45-00

Installation method

other (please specify in additional context)

Environment

Dev Sandbox (workspaces.openshift.com), other (please specify in additional context)

Eclipse Che Logs

No response

Additional context

No response

Metadata

Metadata

Labels

area/editor/theiaIssues related to the che-theia IDE of Chearea/pluginskind/bugOutline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions