[ 
https://issues.apache.org/jira/browse/CAMEL-20420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-20420.
---------------------------------
    Resolution: Fixed

> CSimple: use of builder throws UnsupportedOperationException
> ------------------------------------------------------------
>
>                 Key: CAMEL-20420
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20420
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 4.4.0
>            Reporter: Jiri Ondrusek
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.4.1, 4.5.0
>
>
> The builder is creating unmodifiable map 
> [here|https://github.com/apache/camel/blob/main/core/camel-core-languages/src/main/java/org/apache/camel/language/csimple/CSimpleLanguage.java#L206].
> 'createExpression' call uses computeIfAbsent 
> [here|https://github.com/apache/camel/blob/main/core/camel-core-languages/src/main/java/org/apache/camel/language/csimple/CSimpleLanguage.java#L171],
>  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]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to