-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
%
-
+
-
Automated
When creating a fairly basic integration in Fuse Online using Camel K as integration runtime, following error comes up in the integration pod:
Exception in thread "main" org.apache.camel.RuntimeCamelException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Illegal type (io.syndesis.common.model.action.ImmutableConnectorAction) to deserialize: prevented for security reasons
{{ at [Source: (FileInputStream); line: 1, column: 2186] (through reference chain: io.syndesis.common.model.integration.Integration$Builder["flows"]->java.util.ArrayList[0]->io.syndesis.common.model.integration.Flow$Builder["steps"]->java.util.ArrayList[0]->io.syndesis.common.model.integration.Step$Builder["action"])}}
{{ at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1826)}}
{{ at org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:79)}}
{{ at org.apache.camel.k.listener.RoutesConfigurer.accept(RoutesConfigurer.java:49)}}
{{ at org.apache.camel.k.listener.AbstractPhaseListener.accept(AbstractPhaseListener.java:32)}}
{{ at org.apache.camel.k.jvm.ApplicationRuntime$MainListenerAdapter.lambda$invokeListeners$0(ApplicationRuntime.java:182)}}
{{ at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)}}
{{ at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)}}
{{ at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483)}}
{{ at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)}}
{{ at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)}}
{{ at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)}}
{{ at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)}}
{{ at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)}}
{{ at org.apache.camel.k.jvm.ApplicationRuntime$MainListenerAdapter.invokeListeners(ApplicationRuntime.java:181)}}
{{ at org.apache.camel.k.jvm.ApplicationRuntime$MainListenerAdapter.configure(ApplicationRuntime.java:160)}}
{{ at org.apache.camel.main.MainSupport.postProcessCamelContext(MainSupport.java:618)}}
{{ at org.apache.camel.main.MainSupport.postProcessContext(MainSupport.java:550)}}
{{ at org.apache.camel.k.jvm.ApplicationRuntime$Main.doStart(ApplicationRuntime.java:130)}}
{{ at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:72)}}
{{ at org.apache.camel.main.MainSupport.run(MainSupport.java:170)}}
{{ at org.apache.camel.k.jvm.ApplicationRuntime.run(ApplicationRuntime.java:69)}}
{{ at org.apache.camel.k.jvm.Application.main(Application.java:41)}}
Similar to prior errors we need to add the package to the jackson filter.