snowdrop-zen / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
1 stars 0 forks source link

Failure to boot in kubernetes in dev mode #193

Closed iocanel closed 4 years ago

iocanel commented 4 years ago

This is a regression compared to 1.9.0.Final.

1) Generate a the default REST app 2) add the jib and the minikube extensions 3) add the following properties to the application.properties

quarkus.package.type=mutable-jar
quarkus.live-reload.password=changeit 
quarkus.jib.environment-variables.QUARKUS_LAUNCH_DEVMODE=true

4) execute mvn clean package -DskipTests -Dquarkus.kubernetes.deploy=true

Pointing the browser to the hello endpoint results in

java.lang.IllegalStateException: Could not find matching project info read
    at io.dekorate.project.FileProjectFactory.lambda$createInternal$0(FileProjectFactory.java:60)
    at java.base/java.util.Optional.orElseThrow(Optional.java:408)
    at io.dekorate.project.FileProjectFactory.createInternal(FileProjectFactory.java:60)
    at io.dekorate.project.FileProjectFactory.create(FileProjectFactory.java:41)
    at io.quarkus.kubernetes.deployment.KubernetesCommonHelper.createProject(KubernetesCommonHelper.java:77)
    at io.quarkus.kubernetes.deployment.KubernetesCommonHelper.createProject(KubernetesCommonHelper.java:71)
    at io.quarkus.minikube.deployment.MinikubeProcessor.createDecorators(MinikubeProcessor.java:114)
    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.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:936)
    at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
    at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
    at java.base/java.lang.Thread.run(Thread.java:834)
    at org.jboss.threads.JBossThread.run(JBossThread.java:479)

https://github.com/quarkusio/quarkus/issues/12858


$upstream:12858$