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

CSimple: use of builder throws UnsupportedOperationException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.4.0
    • 4.4.1, 4.5.0
    • camel-core
    • None
    • Unknown

    Description

      The builder is creating unmodifiable map here.
      'createExpression' call uses computeIfAbsent here, which then fails with java.lang.UnsupportedOperationException.

      Problem can be simulated on Camel-quarkus integration-tests/csimple. Failure can be seen in this PR - https://github.com/apache/camel-quarkus/pull/5747

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: