You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "bharadwaj nakka (JIRA)" <ji...@apache.org> on 2015/07/06 09:32:04 UTC

[jira] [Updated] (CAMEL-8934) adviceWith is throwing UnsupportedOperationException when route have choice definition

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

bharadwaj nakka updated CAMEL-8934:
-----------------------------------
    Environment: java version "1.8.0_45" and jboss-fuse-6.2.0.redhat-133  (was: java version "1.8.0_45")
    Description: 
I am currently upgrading camel camel 2.12 to 2.15.1. After the upgrade my test cases are failing.

java.lang.UnsupportedOperationException: null 
        at java.util.AbstractList.add(AbstractList.java:148) 
        at org.apache.camel.builder.AdviceWithTasks$1.task(AdviceWithTasks.java: 
151) 
        at org.apache.camel.model.RouteDefinition.adviceWith(RouteDefinition.jav 
a:270)   

Any work around can be appreciated...

  was:
I am currently upgrading camel camel 2.12 to 2.15.1. After the upgrade my test cases are failing.

java.lang.UnsupportedOperationException: null 
        at java.util.AbstractList.add(AbstractList.java:148) 
        at org.apache.camel.builder.AdviceWithTasks$1.task(AdviceWithTasks.java: 
151) 
        at org.apache.camel.model.RouteDefinition.adviceWith(RouteDefinition.jav 
a:270)   


> adviceWith is throwing UnsupportedOperationException when route have choice definition
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-8934
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8934
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.15.1
>         Environment: java version "1.8.0_45" and jboss-fuse-6.2.0.redhat-133
>            Reporter: bharadwaj nakka
>
> I am currently upgrading camel camel 2.12 to 2.15.1. After the upgrade my test cases are failing.
> java.lang.UnsupportedOperationException: null 
>         at java.util.AbstractList.add(AbstractList.java:148) 
>         at org.apache.camel.builder.AdviceWithTasks$1.task(AdviceWithTasks.java: 
> 151) 
>         at org.apache.camel.model.RouteDefinition.adviceWith(RouteDefinition.jav 
> a:270)   
> Any work around can be appreciated...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)