-
Notifications
You must be signed in to change notification settings - Fork 28
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
Running/Debugging quarkus application with Gradle throws error #634
Comments
@datho7561 I have never tested vscode-quarkus with gradle, have you played with gradle quarkus project? |
I can replicated the failure, but instead, the error popup I get "Cannot read properties of undefined (reading 'filter')". |
I can't consistently reproduce the issue. I don't know what the root cause is. |
Same problem, I tracked it to this line Apparently it is returning undefined because there isn't a
from here I don't have experience in VS Code extensions development so I don't know what that |
Thanks! This is very helpful. This means that the mechanism we are using to detect if a project is a Gradle project is failing. I thought the bug was in the TypeScript code, but it's probably in the Java code, or in the communication between the two. |
Old discussion, but finally I resolved by creating a main class for the Quarkus application. Pretty annoying, but works well |
Background:
Creating projects with >Quarkus: Generate a Quarkus Project in VS code
Trying to run/debug Quarkus project using command >Quarkus: Debug current Quarkus project
Issue:
Works perfectly fine for maven projects. However, throws following error while running Gradle:
Cannot read properties of undefined (reading 'getQuarkusDevTaskName')
Extension version:
1.16.0
Note: Gradle code running perfectly fine using terminal using command: gradlew quarkusDev
The text was updated successfully, but these errors were encountered: