Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20863

camel-langchain4j-chat: NPE if only producer is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.7.0
    • camel-ai
    • None
    • Unknown

    Description

      If endpoint uses only a producer (example from camel-quarkus integration tests)
      Producer for multiple messages requires  CamelToolExecutorCache.getInstance().getTools()  to return something (!= null) see code
      I checked that only place which is adding something to the cache is a  consumer, which does not seem to be correct.

      Attachments

        Activity

          People

            jondruse Jiri Ondrusek
            jondruse Jiri Ondrusek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: