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

Regression from 1.8 - Kameletbinding with dataformat action kamelets produces warning CDI: programmatic lookup problem detected

XMLWordPrintable

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

      On OCP 4.11, with Camel K 1.10.0CK5, the running integration created from kameletbinding timer-to-log-avro produces following warning:

      [1] 2023-01-09 10:01:09,653 INFO  [info] (Camel (camel-1) thread #1 - timer://tick) Exchange[ExchangePattern: InOnly, Headers: {CamelMessageTimestamp=1673258469649, firedTime=Mon Jan 09 10:01:09 GMT 2023}, BodyType: com.fasterxml.jackson.databind.node.ObjectNode, Body: {  "firstName" : "Ada96950"}]
      [1] 2023-01-09 10:01:10,653 WARN  [io.qua.arc.impl] (Camel (camel-1) thread #1 - timer://tick) 
      [1] ================================================================================
      [1] CDI: programmatic lookup problem detected
      [1] -----------------------------------------
      [1] At least one bean matched the required type and qualifiers but was marked as unused and removed during build
      [1] 
      [1] Stack frame: org.apache.camel.quarkus.core.RuntimeBeanRepository.getReferencesByType(RuntimeBeanRepository.java:64)
      [1] Required type: class com.fasterxml.jackson.databind.ObjectMapper
      [1] Required qualifiers: [@javax.enterprise.inject.Default()]
      [1] Removed beans:
      [1]     - PRODUCER_METHOD bean io.quarkus.jackson.runtime.ObjectMapperProducer#objectMapper() [types=[interface com.fasterxml.jackson.core.Versioned, class com.fasterxml.jackson.core.TreeCodec, interface java.io.Serializable, class com.fasterxml.jackson.core.ObjectCodec, class com.fasterxml.jackson.databind.ObjectMapper], qualifiers=null]
      [1] Solutions:
      [1]     - Application developers can eliminate false positives via the @Unremovable annotation
      [1]     - Extensions can eliminate false positives via build items, e.g. using the UnremovableBeanBuildItem
      [1]     - See also https://quarkus.io/guides/cdi-reference#remove_unused_beans
      [1]     - Enable the DEBUG log level to see the full stack trace
      [1] ================================================================================
      [1] 
      
      

      I observe the issue for kamelets:

      • avro-[de]serialize-action, protobuf-[de]serialize-action

              pcongius Pasquale Congiusti
              lfabriko@redhat.com Lucie Krejcirova
              Lucie Krejcirova Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: