You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "David Tombs (JIRA)" <ji...@apache.org> on 2011/08/25 20:25:29 UTC

[jira] [Commented] (CAMEL-4264) The routeContext stack of DefaultUnitOfWork should be thread safe

    [ https://issues.apache.org/jira/browse/CAMEL-4264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091195#comment-13091195 ] 

David Tombs commented on CAMEL-4264:
------------------------------------

This issue is biting my organization hard in a critical route where we can't drop any messages. Would it be possible to target this for 2.8.1 or some kind of bugfix release? Thanks.

> The routeContext stack of DefaultUnitOfWork should be thread safe
> -----------------------------------------------------------------
>
>                 Key: CAMEL-4264
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4264
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.3, 2.8.0
>            Reporter: Willem Jiang
>            Assignee: Christian Müller
>             Fix For: 2.9.0
>
>
> Here is the stack trace
> {code}
> java.util.EmptyStackException
>         at java.util.Stack.peek(Stack.java:85)
>         at java.util.Stack.pop(Stack.java:67)
>         at 
> org.apache.camel.impl.DefaultUnitOfWork.popRouteContext(DefaultUnitOfWork.java:226)
>         at 
> org.apache.camel.processor.DefaultChannel$1.done(DefaultChannel.java:260)
>         at 
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
>         at 
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)
>         at 
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
>         at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
>         at 
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:113)
>         at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
>         at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
>         at 
> org.apache.camel.processor.aggregate.AggregateProcessor$1.run(AggregateProcessor.java:397)
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> {code}
> You can find more information in this mail thread[1]
> [1]http://camel.465427.n5.nabble.com/EmptyStackException-in-DefaultUnitOfWork-popRouteContext-td4630106.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira