-
Notifications
You must be signed in to change notification settings - Fork 14
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
error when hovering on java file that is not on main projects build path #317
Comments
for now i've uninstalled microprofile/quarkus tooling as it otherwise kept happening :/ |
could you share your project please. |
@maxandersen could you please share your project, thanks! |
https://github.com/quarkiverse/quarkus-langchain4j/tree/main/samples/jbang-joke-bot probably I had the whole repo checked out and then opened cursor or vscode in the samples directory. |
Badly I cannot reproduce the issue. I have tried to hover the Java file https://github.com/quarkiverse/quarkus-langchain4j/blob/main/samples/jbang-joke-bot/jokes.java by opening:
@fbricon could you try it please. @maxandersen are you using 0.13.0 version of vscode-microprofile? |
@rgrunber @datho7561 could you try the issue please, I cannot reproduce it. Thanks! |
@maxandersen if you can reproduce it, it would be very nice to have the stack trace of the error by using |
i can try - i just uninstalled microprofile again as hit me again. |
installed microprofile/quarkus tools again and its using 0.13 - lets see if pops up again |
is there potential a log somewhere I can find the old errors? |
@fbricon @datho7561 @rgrunber do you know if it is possible? |
if you didn't clean the workspace, you can find the old JDT logs still from |
@maxandersen as you said I think we need to do some try / catch but without some stacktraces it is difficult to know where we need to do that. |
I searched all .log files in ~/Library/Application Support with which is weird as it happened multiple times at different occasions - could it be not logging ? |
Ok could you add in your settings.json |
Would be good to also add |
@maxandersen I wonder how you have excluded your Java class from classpath? I want to create a release of vscode-quarkus ASAP with Roq support and I think it would be nice to fix your issue also. Please share your logs. |
Tried with vscode-java, vscode-microprofile, vscode-quarkus, vscode-jbang pre-release builds. Haven't reproduce the hover failure though.
stacktrace
I'm guessing to detect this as a Quarkus project, you need the root. Despite that, it looks like most of the projects that declare a pom file do seem to load correctly and language support works. However,
stacktrace
Basically, some "client" is calling JDT-LS with :
Might be irrelevant though, given that it does seem to work for me. |
microprofile is failing/erroring when i'm hovering on elements on a java file (using jbang):
probably missing a try/catch as it shouldn't block hovering.
The text was updated successfully, but these errors were encountered: