-
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
In hosted-instance-log: "TypeError: Cannot read property 'path' of undefined" from vscode-builtin-json-language-feature #19485
Comments
it happens on several workspaces. tested with Camel K and Java Maven |
I'm also experiencing this issue. Array.isArray(r) && r.forEach(n => { let { fileMatch: r, url: o } = n; if ("string" == typeof r && (r = [r]), Array.isArray(r) && "string" == typeof o) { let n = o; "." === n[0] && "/" === n[1] && (n = a.joinPath(e.extensionUri, n).toString()), r = r.map(e => ("%" === e[0] ? e = (e = (e = e.replace(/%APP_SETTINGS_HOME%/, "/User")).replace(/%MACHINE_SETTINGS_HOME%/, "/Machine")).replace(/%APP_WORKSPACES_HOME%/, "/Workspaces") This seems to be the piece of code the error is occurring at, for some reason the extensions aren't getting valid Uri's? |
On obvious problem is that in Theia, the URI class does not declare a |
I encountered this on a sandbox CRW instance with this devfile from @sunix - https://sunix-che-devfile-registry-3twww.surge.sh/devfiles/quarkus/devfile.yaml |
for reference eclipse-theia/theia#8752 |
Bit of a 🤦♂️ moment here: while i have a fix for the upstream problem eclipse-theia/theia#8752, it turns out that I was looking at the wrong version of the json extension: 1.49.3 vs. 1.50.1. In 1.50.1, the extension implements a 'joinPath' function, which accesses the |
I implemented the |
still occuring with CRW 2.10 (so Che 7.32.2)
|
@apupier I can create a "Java maven" workspace with no problems on https://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/ Can we close this one? |
if you have no error in log, yes |
Describe the bug
stack error in hosted-instance-log when staring a workspace:
Che version
Steps to reproduce
Expected behavior
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandEnvironment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: