-
Bug
-
Resolution: Done
-
Blocker
-
camel-K-M3
-
None
-
False
-
False
-
%
-
+
-
Automated
-
Undefined
-
Camel-K
-
-
camel-k-example-api
Error from integration pod
2020-10-13 06:40:03.804 INFO [main] SourcesConfigurer - Loading routes from: file:/etc/camel/sources/i-source-000/MinioCustomizer.java?language=java Exception in thread "main" org.apache.camel.RuntimeCamelException: java.lang.ClassCastException: class test.MinioCustomizer cannot be cast to class org.apache.camel.RoutesBuilder (test.MinioCustomizer is in unnamed module of loader org.joor.Compile$ByteArrayClassLoader @7eb01b12; org.apache.camel.RoutesBuilder is in unnamed module of loader 'app') at org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:51) at org.apache.camel.k.support.SourcesSupport.load(SourcesSupport.java:112) at org.apache.camel.k.support.SourcesSupport.loadSources(SourcesSupport.java:74) at org.apache.camel.k.listener.SourcesConfigurer.accept(SourcesConfigurer.java:57) at org.apache.camel.k.listener.AbstractPhaseListener.accept(AbstractPhaseListener.java:32) at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.lambda$invokeListeners$0(ApplicationRuntime.java:164) 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:163) at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.beforeConfigure(ApplicationRuntime.java:127) at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:651) at org.apache.camel.main.BaseMainSupport.initCamelContext(BaseMainSupport.java:426) at org.apache.camel.k.main.ApplicationRuntime$MainAdapter.doInit(ApplicationRuntime.java:185) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.main.MainSupport.run(MainSupport.java:55) 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.ClassCastException: class test.MinioCustomizer cannot be cast to class org.apache.camel.RoutesBuilder (test.MinioCustomizer is in unnamed module of loader org.joor.Compile$ByteArrayClassLoader @7eb01b12; org.apache.camel.RoutesBuilder is in unnamed module of loader 'app') at org.apache.camel.k.loader.java.JavaSourceLoader.load(JavaSourceLoader.java:51) at org.apache.camel.k.support.SourcesSupport.load(SourcesSupport.java:104) ... 21 more
Pods:
oc get pods MacBook-Pro: Tue Oct 13 08:45:25 2020
NAME READY STATUS RESTARTS AGE
api-hd687-deployment-7b49754cbb-546nd 0/2 CrashLoopBackOff 5 5m24s
camel-k-kit-bu2kk68b1340nk4jb9ug-1-build 0/1 Completed 0 10m
camel-k-operator-66cfb7575-rmp4m 1/1 Running 0 17m
minio-7bdb47dfdd-6hgzs 1/1 Running 0 18m
test-crud-bu2klahuk03tc4g91pg0 1/1 Running 0 9m37s
yaks-7bf55585f9-qpg28 1/1 Running 0 18m
camel-k-example-transformations
Error from integration pod
oc logs -f transformations-7f6c649fff-f9bzn ✘ 130 exec java -cp ./resources:/etc/camel/conf.d:/etc/camel/resources:/etc/camel/sources/i-source-000:/etc/camel/sources/i-source-001:/etc/camel/sources/i-source-002:dependencies/com.fasterxml.jackson.core.jackson-annotations-2.10.5.jar:dependencies/com.fasterxml.jackson.core.jackson-core-2.10.5.jar:dependencies/com.fasterxml.jackson.core.jackson-databind-2.10.5.jar:dependencies/com.fasterxml.jackson.dataformat.jackson-dataformat-xml-2.10.5.jar:dependencies/com.fasterxml.jackson.module.jackson-module-jaxb-annotations-2.10.5.jar:dependencies/com.fasterxml.woodstox.woodstox-core-6.2.1.jar:dependencies/com.github.ben-manes.caffeine.caffeine-2.6.2.jar:dependencies/com.github.waffle.waffle-jna-1.9.1.jar:dependencies/com.google.code.gson.gson-2.8.5.redhat-00001.jar:dependencies/com.sun.activation.javax.activation-1.2.0.jar:dependencies/commons-codec.commons-codec-1.11.0.redhat-00001.jar:dependencies/commons-logging.commons-logging-1.2.jar:dependencies/jakarta.activation.jakarta.activation-api-1.2.1.jar:dependencies/jakarta.xml.bind.jakarta.xml.bind-api-2.3.2.jar:dependencies/javax.servlet.javax.servlet-api-3.1.0.redhat-1.jar:dependencies/net.java.dev.jna.jna-4.5.1.jar:dependencies/net.java.dev.jna.jna-platform-4.5.1.jar:dependencies/org.apache.camel.camel-api-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-attachments-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-base-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-bean-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-cloud-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-cluster-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-core-catalog-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-core-engine-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-core-languages-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-csv-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-endpointdsl-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-file-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-gson-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-http-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-http-base-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-http-common-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-jacksonxml-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-jdbc-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-log-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-main-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-management-api-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-support-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-timer-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-tooling-model-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-util-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.camel-util-json-3.5.1.fuse-jdk11-800003-redhat-00001.jar:dependencies/org.apache.camel.k.camel-k-loader-java-1.5.1.fuse-jdk11-800005-redhat-00001.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-1.5.1.fuse-jdk11-800005-redhat-00001.jar:dependencies/org.apache.camel.k.camel-k-runtime-main-1.5.1.fuse-jdk11-800005-redhat-00001.jar:dependencies/org.apache.commons.commons-csv-1.8.jar:dependencies/org.apache.commons.commons-dbcp2-2.7.0.jar:dependencies/org.apache.commons.commons-pool2-2.7.0.jar:dependencies/org.apache.httpcomponents.httpclient-4.5.12.redhat-00001.jar:dependencies/org.apache.httpcomponents.httpcore-4.4.13.jar:dependencies/org.apache.logging.log4j.log4j-api-2.13.3.jar:dependencies/org.apache.logging.log4j.log4j-core-2.13.3.jar:dependencies/org.apache.logging.log4j.log4j-slf4j-impl-2.13.3.jar:dependencies/org.codehaus.woodstox.stax2-api-4.2.1.jar:dependencies/org.jooq.joor-0.9.13.jar:dependencies/org.osgi.org.osgi.core-4.3.1.jar:dependencies/org.osgi.org.osgi.enterprise-4.2.0.jar:dependencies/org.postgresql.postgresql-42.2.13.jar:dependencies/org.slf4j.jcl-over-slf4j-1.7.25.jar:dependencies/org.slf4j.slf4j-api-1.7.30.redhat-00001.jar:dependencies/org.springframework.spring-beans-5.2.8.RELEASE.jar:dependencies/org.springframework.spring-core-5.2.8.RELEASE.jar:dependencies/org.springframework.spring-jcl-5.2.8.RELEASE.jar:dependencies/org.springframework.spring-jdbc-5.2.8.RELEASE.jar:dependencies/org.springframework.spring-tx-5.2.8.RELEASE.jar org.apache.camel.k.main.Application 2020-10-13 07:21:31.066 INFO [main] SourcesConfigurer - Loading routes from: file:/etc/camel/sources/i-source-000/Transformations.java?language=java 2020-10-13 07:21:31.864 INFO [main] SourcesConfigurer - Loading routes from: file:/etc/camel/sources/i-source-001/CSVCustomizer.java?language=java Exception in thread "main" org.apache.camel.RuntimeCamelException: java.lang.ClassCastException: class customizers.CSVCustomizer cannot be cast to class org.apache.camel.RoutesBuilder (customizers.CSVCustomizer is in unnamed module of loader org.joor.Compile$ByteArrayClassLoader @56de6d6b; org.apache.camel.RoutesBuilder is in unnamed module of loader 'app') at org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:51) at org.apache.camel.k.support.SourcesSupport.load(SourcesSupport.java:112) at org.apache.camel.k.support.SourcesSupport.loadSources(SourcesSupport.java:74) at org.apache.camel.k.listener.SourcesConfigurer.accept(SourcesConfigurer.java:57) at org.apache.camel.k.listener.AbstractPhaseListener.accept(AbstractPhaseListener.java:32) at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.lambda$invokeListeners$0(ApplicationRuntime.java:164) 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:163) at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.beforeConfigure(ApplicationRuntime.java:127) at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:651) at org.apache.camel.main.BaseMainSupport.initCamelContext(BaseMainSupport.java:426) at org.apache.camel.k.main.ApplicationRuntime$MainAdapter.doInit(ApplicationRuntime.java:185) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.main.MainSupport.run(MainSupport.java:55) 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.ClassCastException: class customizers.CSVCustomizer cannot be cast to class org.apache.camel.RoutesBuilder (customizers.CSVCustomizer is in unnamed module of loader org.joor.Compile$ByteArrayClassLoader @56de6d6b; org.apache.camel.RoutesBuilder is in unnamed module of loader 'app') at org.apache.camel.k.loader.java.JavaSourceLoader.load(JavaSourceLoader.java:51) at org.apache.camel.k.support.SourcesSupport.load(SourcesSupport.java:104) ... 21 more
- is related to
-
ENTESB-15032 knative quickstart: Cannot load Knative configuration
- Done
- links to