-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
NPE when a devfile command references theia #13842
Comments
@sleshchenko @metlos thoughts? |
It should work and I see no reason why we should deny it. I debugged a workspace start with your Devfile and the reason of failing is NPE The actual cause is hidden here https://github.com/eclipse/che/blob/f601f1652795048641001387c1ef13192f38a224/wsmaster/che-core-api-workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/ExtendedPluginFQN.java#L38 It's related to #13297 |
Fix look like not very complex |
I've created a separate issue for Workspace Loader since it has to show an error message that workspace failed to start #13846 |
Based on triage doc https://docs.google.com/document/d/1heR9ysCHCPxcoyQbI2er7QeMAKk2LEecjTFQayL65mA/edit# I would surmise that if this is a P1, it's for 7.1. If it's a blocker, it's for 7.0. |
I would say that's |
And I have changed the title of this issue because it was really a bad one. |
I'm working on this |
Hello!

I had two components in my devFile and a lot of commands. I used minikube and chectl to start workspace from the devfile. My workspace was stuck every time and I couldn't understand what's the problem with my devfile.
The problem was solved when I replaced the value of the
component
fieldtheia-editor
byche-dev
for one of the commands.So, my question is: can I define

theia-editor
ascomponent
for commands?If no, can we display some warning message for user for this case? For example, I get error:
when I just miss some letter for component field. So, maybe we can do something similar for described case.
Maybe something wrong with my devfile, please take a look (I simplified the devfile as possible and left only two commands and two components - for example):
Thanks in advance!
The text was updated successfully, but these errors were encountered: