You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mihnea Pretorian (JIRA)" <ji...@apache.org> on 2016/07/22 13:02:20 UTC
[jira] [Updated] (CAMEL-10174) weaveByToString throws
UnsupportedOperationException on CBR
[ https://issues.apache.org/jira/browse/CAMEL-10174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mihnea Pretorian updated CAMEL-10174:
-------------------------------------
Attachment: AdviceWithWeaveByToStringCBRTest.java
Here is the exception stack trace:
java.lang.UnsupportedOperationException
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.java:281)
at org.apache.camel.processor.interceptor.AdviceWithChoiceRouteTest.testAdviceWith(AdviceWithChoiceRouteTest.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at org.apache.camel.TestSupport.runBare(TestSupport.java:58)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> weaveByToString throws UnsupportedOperationException on CBR
> -----------------------------------------------------------
>
> Key: CAMEL-10174
> URL: https://issues.apache.org/jira/browse/CAMEL-10174
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.17.2
> Reporter: Mihnea Pretorian
> Attachments: AdviceWithWeaveByToStringCBRTest.java
>
>
> weaveByToString throws UnsupportedOperationException on CBR.
> See the attached test case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)