Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21192

jbang camel k8s run may fail with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • None
    • camel-jbang
    • None
    • Unknown

    Description

      [jbang] Resolving dependencies...
      [jbang]    org.apache.camel:camel-bom:4.9.0-SNAPSHOT@pom
      [jbang]    org.apache.camel:camel-jbang-core:4.9.0-SNAPSHOT
      [jbang]    org.apache.camel.kamelets:camel-kamelets:4.7.0
      [jbang] Dependencies resolved
      Exporting application ...
      *java.lang.NullPointerException: Cannot invoke "io.fabric8.kubernetes.api.model.Pod.getStatus()" because "it" is null*
       _at org.apache.camel.dsl.jbang.core.commands.kubernetes.KubernetesRun.lambda$doCall$0(KubernetesRun.java:322)_
       _at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.lambda$waitUntilCondition$9(BaseOperation.java:935)_
       _at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.lambda$informOnCondition$12(BaseOperation.java:967)_
       _at io.fabric8.kubernetes.client.dsl.internal.BaseOperation$3.onNothing(BaseOperation.java:993)_
       _at io.fabric8.kubernetes.client.informers.impl.cache.ProcessorStore.lambda$retainAll$2(ProcessorStore.java:106)_
       _at io.fabric8.kubernetes.client.informers.impl.cache.SharedProcessor.lambda$distribute$1(SharedProcessor.java:114)_
       _at io.fabric8.kubernetes.client.utils.internal.SerialExecutor.lambda$execute$0(SerialExecutor.java:57)_
       _at io.fabric8.kubernetes.client.utils.internal.SerialExecutor.scheduleNext(SerialExecutor.java:75)_
       _at io.fabric8.kubernetes.client.utils.internal.SerialExecutor.execute(SerialExecutor.java:69)_
      

      Attachments

        Issue Links

          Activity

            People

              tdiesler Thomas Diesler
              tdiesler Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: