Build step io.quarkus.kubernetes.deployment.KubernetesDeployer#deploy threw an exception: java.lang.NullPointerException: Cannot invoke "io.quarkus.kubernetes.spi.KubernetesOutputDirectoryBuildItem.getOutputDirectory()" because "outputDirectoryBuildItem" is null
I debugged the quarkus gradle plugin and found a windows path error invalid character quote <">
Further debugging identified the issue to be coming from the GradleInfoReader.java class and method readSettingsGradle
Hi,
I have been using quarkus to build a java project using gradle where the rootProject variable has been set in the gradle settings file.
settings.gradle.kts
Command to reproduced the error:
This caused an exception to be thrown:
I debugged the quarkus gradle plugin and found a windows path error invalid character quote <">
Further debugging identified the issue to be coming from the GradleInfoReader.java class and method readSettingsGradle
I could see the value being added into the properties map was double quoted for example:
This would then cause an issue when a filename was being generated from the root project name.
Note the problem is only reproduceable on Windows as on Linux quotes in a file name are ignored.