-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Potential NPE in QuarkusClassLoader #28098
Comments
/cc @Sanne, @aloubyansky, @geoand, @gsmet, @radcortez, @stuartwdouglas |
@y-luis could you please provide more info, such as after which actions/steps this error happens? Thanks. |
Sure. I am trying an app based on a Maven multi-module project here, with the following
and the following
After Environment
Quarkus version: 2.11.2.Final |
Are you sure it's packaged as a |
Yes, my
|
@y-luis-rojo do you launch |
I launch |
You could try launching it from the app module but you would have to actually install your modules in your local Maven repo, because otherwise Maven won't be able to resolve the other modules your app depends on. And I think live reload won't work for those other modules. |
OK but then for live reload to work, it is required to launch from project's root, does that confirms the error comes from a bug? |
The dev mode should work launching from the app module. Although I found the remote-dev doesn't for non-app modules when launched from the app module. I'll have a look into that. |
@y-luis-rojo would you be able to test a custom branch of quarkus? |
It's not easy to create a proper test we could add to our testsuite for what you are seeing. I actually couldn't reproduce it but I saw other errors that could have a common cause with the one you reported. |
Before I open PRs it'd be good to know whether it helps in your situation. |
I can try. Could you please share documentation on how to do it? Maybe you could publish the branch's artifact for me to use it? |
Excellent, here is the branch https://github.com/aloubyansky/quarkus/tree/remote-dev-delete-files-after-app-closed
Then build the app, the image and launch the remote-dev the way you were launching. Let us know whether it helped or changed the behavior in some way. Thanks a lot! |
I must be doing something wrong, I am stuck with the following error (means I am not using the most recent version of
|
Have you done |
Yes, I did. Not sure what it was last error, but it looks good now, I was able to work in remote development mode and use Live Coding feature! :) |
Thanks a lot for testing @y-luis-rojo |
Hi @aloubyansky, we've upgraded to version |
I am trying to run a Quarkus app in a local container and use remote development mode and I'm facing the same error:
I am not using any database migration tool. Could it be related?
Originally posted by @y-luis in #25256 (comment)
The text was updated successfully, but these errors were encountered: