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

[serialize/deserialize-action kamelet] Failed to start application: Unsupported field: property-name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • camel-k-1.10
    • camel-k-1.10
    • Camel-K
    • None
    • False
    • None
    • False
    • % %
    • Todo
    • Very Likely

      Running this integration

      // camel-k: language=groovy
      from("direct:x").to("kamelet:avro-deserialize-action") 

      I am getting following error

      g-6546cb45c5-szscq integration 
      g-6546cb45c5-szscq integration 2022-12-06 12:42:34,796 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): Unsupported field: property-name
      g-6546cb45c5-szscq integration  in file:/etc/camel/sources/avro-deserialize-action.yaml, line 16, column 26:
      g-6546cb45c5-szscq integration               property-name: schema
      g-6546cb45c5-szscq integration                              ^
      g-6546cb45c5-szscq integration 
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerBase.handleUnknownProperty(YamlDeserializerBase.java:132)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerBase.setProperties(YamlDeserializerBase.java:126)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerBase.construct(YamlDeserializerBase.java:65)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializationContext$2.construct(YamlDeserializationContext.java:215)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.deserializers.ProcessorDefinitionDeserializer.construct(ProcessorDefinitionDeserializer.java:36)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializationContext$1.construct(YamlDeserializationContext.java:171)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerSupport.asType(YamlDeserializerSupport.java:332)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerSupport.asCollection(YamlDeserializerSupport.java:310)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerSupport.asFlatCollection(YamlDeserializerSupport.java:291)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerSupport.asFlatList(YamlDeserializerSupport.java:277)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerSupport.setSteps(YamlDeserializerSupport.java:392)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerSupport.setSteps(YamlDeserializerSupport.java:387)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.deserializers.OutputAwareFromDefinitionDeserializer.setProperties(OutputAwareFromDefinitionDeserializer.java:93)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.deserializers.OutputAwareFromDefinitionDeserializer.setProperties(OutputAwareFromDefinitionDeserializer.java:34)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerBase.construct(YamlDeserializerBase.java:65)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializationContext$1.construct(YamlDeserializationContext.java:171)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerSupport.asType(YamlDeserializerSupport.java:332)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.deserializers.RouteTemplateDefinitionDeserializer.setProperty(RouteTemplateDefinitionDeserializer.java:75)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.deserializers.RouteTemplateDefinitionDeserializer.setProperty(RouteTemplateDefinitionDeserializer.java:32)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerBase.setProperties(YamlDeserializerBase.java:125)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializerBase.construct(YamlDeserializerBase.java:65)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.common.YamlDeserializationContext$2.construct(YamlDeserializationContext.java:215)
      g-6546cb45c5-szscq integration 	at org.apache.camel.dsl.yaml.YamlRoutesBuilderLoader$1.configuration(YamlRoutesBuilderLoader.java:233)
      g-6546cb45c5-szscq integration 	at org.apache.camel.builder.RouteConfigurationBuilder.addRouteConfigurationsToCamelContext(RouteConfigurationBuilder.java:77)
      g-6546cb45c5-szscq integration 	at org.apache.camel.impl.engine.AbstractCamelContext.addRoutesConfigurations(AbstractCamelContext.java:1187)
      g-6546cb45c5-szscq integration 	at org.apache.camel.main.RoutesConfigurer.addDiscoveredRoutes(RoutesConfigurer.java:231)
      g-6546cb45c5-szscq integration 	at org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:212)
      g-6546cb45c5-szscq integration 	at org.apache.camel.quarkus.main.CamelMain.configureRoutes(CamelMain.java:70)
      g-6546cb45c5-szscq integration 	at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:637)
      g-6546cb45c5-szscq integration 	at org.apache.camel.quarkus.main.CamelMain.initCamelContext(CamelMain.java:116)
      g-6546cb45c5-szscq integration 	at org.apache.camel.quarkus.main.CamelMain.doInit(CamelMain.java:86)
      g-6546cb45c5-szscq integration 	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
      g-6546cb45c5-szscq integration 	at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:137)
      g-6546cb45c5-szscq integration 	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
      g-6546cb45c5-szscq integration 	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
      g-6546cb45c5-szscq integration 	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy_0(Unknown Source)
      g-6546cb45c5-szscq integration 	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy(Unknown Source)
      g-6546cb45c5-szscq integration 	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
      g-6546cb45c5-szscq integration 	at io.quarkus.runtime.Application.start(Application.java:101)
      g-6546cb45c5-szscq integration 	at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:110)
      g-6546cb45c5-szscq integration 	at io.quarkus.runtime.Quarkus.run(Quarkus.java:70)
      g-6546cb45c5-szscq integration 	at io.quarkus.runtime.Quarkus.run(Quarkus.java:43)
      g-6546cb45c5-szscq integration 	at io.quarkus.runtime.Quarkus.run(Quarkus.java:123)
      g-6546cb45c5-szscq integration 	at io.quarkus.runner.GeneratedMain.main(Unknown Source)
      g-6546cb45c5-szscq integration 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      g-6546cb45c5-szscq integration 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      g-6546cb45c5-szscq integration 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      g-6546cb45c5-szscq integration 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      g-6546cb45c5-szscq integration 	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:61)
      g-6546cb45c5-szscq integration 	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:32)
      g-6546cb45c5-szscq integration 
      

      Similar error for avro-serialize-action protobuf-deserialize-action protobuf-serialize-action

              pcongius Pasquale Congiusti
              jbouska@redhat.com Jan Bouska
              Jan Bouska Jan Bouska
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: