Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14543

Pod built by camel-k operator from telegram camelsource doesn't start on 4.6

    Details

    • Type: Bug
    • Status: Development Next
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: camel-K-future
    • Component/s: Camel-K
    • Labels:
      None
    • Service / (sub)product:
      Camel-K

      Description

      When I create telegram camelsource based on these samples: https://github.com/knative/docs/tree/master/docs/eventing/samples/apache-camel-source

       

      I get following errors with RH camel-k on OCP 4.6.

      2020-08-25 09:13:19.720 INFO  [main] LRUCacheFactory - Detected and using LURCacheFactory: camel-caffeine-lrucache
      2020-08-25 09:13:19.824 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RuntimeConfigurer@f316aeb
      2020-08-25 09:13:19.825 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.ContextConfigurer@59b38691
      2020-08-25 09:13:19.826 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesConfigurer@17aad511
      2020-08-25 09:13:19.827 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesDumper@63798ca7
      2020-08-25 09:13:19.828 INFO  [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.PropertiesFunctionsConfigurer@32f232a5
      2020-08-25 09:13:19.834 INFO  [main] ApplicationRuntime - Listener org.apache.camel.k.listener.RuntimeConfigurer@f316aeb executed in phase Starting
      2020-08-25 09:13:19.848 INFO  [main] ApplicationRuntime - Listener org.apache.camel.k.listener.PropertiesFunctionsConfigurer@32f232a5 executed in phase Starting
      2020-08-25 09:13:19.851 INFO  [main] BaseMainSupport - Using properties from: 
      2020-08-25 09:13:19.860 INFO  [main] RuntimeSupport - Looking up loader for id: knative-source
      Exception in thread "main" org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Error creating instance of loader: knative-source
      	at org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:52)
      	at org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:64)
      	at org.apache.camel.k.listener.RoutesConfigurer.accept(RoutesConfigurer.java:52)
      	at org.apache.camel.k.listener.AbstractPhaseListener.accept(AbstractPhaseListener.java:32)
      	at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.lambda$invokeListeners$0(ApplicationRuntime.java:179)
      	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
      	at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
      	at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.invokeListeners(ApplicationRuntime.java:178)
      	at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.beforeConfigure(ApplicationRuntime.java:152)
      	at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:584)
      	at org.apache.camel.main.BaseMainSupport.initCamelContext(BaseMainSupport.java:423)
      	at org.apache.camel.k.main.ApplicationRuntime$MainAdapter.doInit(ApplicationRuntime.java:195)
      	at org.apache.camel.support.service.ServiceSupport.init(ServiceSupport.java:83)
      	at org.apache.camel.support.service.ServiceSupport.start(ServiceSupport.java:112)
      	at org.apache.camel.main.MainSupport.run(MainSupport.java:82)
      	at org.apache.camel.k.main.ApplicationRuntime.run(ApplicationRuntime.java:71)
      	at org.apache.camel.k.main.Application.main(Application.java:42)
      Caused by: java.lang.RuntimeException: Error creating instance of loader: knative-source
      	at org.apache.camel.k.support.RuntimeSupport.lambda$lookupLoaderFromResource$10(RuntimeSupport.java:202)
      	at java.base/java.util.Optional.orElseThrow(Optional.java:408)
      	at org.apache.camel.k.support.RuntimeSupport.lookupLoaderFromResource(RuntimeSupport.java:202)
      	at org.apache.camel.k.support.RuntimeSupport.lookupLoaderById(RuntimeSupport.java:179)
      	at org.apache.camel.k.support.RuntimeSupport.lambda$loaderFor$8(RuntimeSupport.java:163)
      	at java.base/java.util.Optional.map(Optional.java:265)
      	at org.apache.camel.k.support.RuntimeSupport.loaderFor(RuntimeSupport.java:162)
      	at org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:82)
      	at org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:62)
      	... 21 more
      2020-08-25 09:13:19.871 INFO  [Camel Thread #1 - CamelHangupInterceptor] MainSupport$HangupInterceptor - Received hang up - stopping the main instance.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nibbio84 Nicola Ferraro
                Reporter:
                irum Alice Rum
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: