You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have a gradle project with some submodules. Some submodules have an empty resource folder.
When starting the main method directly from the Intellij, we receive a null pointer exception.
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at io.quarkus.launcher.QuarkusLauncher.launch(QuarkusLauncher.java:57)
at io.quarkus.runtime.Quarkus.launchFromIDE(Quarkus.java:92)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:79)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:38)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:104)
at org.qumea.Main.main(Main.java:11)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.quarkus.launcher.QuarkusLauncher.launch(QuarkusLauncher.java:54)
... 5 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at io.quarkus.bootstrap.IDELauncherImpl.launch(IDELauncherImpl.java:60)
... 10 more
Caused by: java.lang.NullPointerException
at io.quarkus.bootstrap.IDELauncherImpl.launch(IDELauncherImpl.java:50)
... 10 more
Expected behavior
Empty resource directories should probably be ignored.
The issue is still there in 1.11.0.Final when running the main method directly from intellij. So the fix probably didn't work or I just missed something?
Describe the bug
We have a gradle project with some submodules. Some submodules have an empty resource folder.
When starting the main method directly from the Intellij, we receive a null pointer exception.
Expected behavior
Empty resource directories should probably be ignored.
To Reproduce
submodule-no-resources.zip
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: