[
https://issues.apache.org/jira/browse/CAMEL-7146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-7146:
----------------------------------
Assignee: Claus Ibsen
> NPE in Aggregator when completionSize = 1
> -----------------------------------------
>
> Key: CAMEL-7146
> URL: https://issues.apache.org/jira/browse/CAMEL-7146
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.12.2
> Reporter: Stefan Burkard
> Assignee: Claus Ibsen
> Priority: Trivial
> Labels: aggregator
> Fix For: 2.12.3, 2.13.0
>
> Attachments: Camel-7146-example.tgz, Camel-7146-stacktrace.txt
>
>
> A Camel aggregator with persistence repository cannot have a completionSize
> of 1. If this is configured, every message produces a NPE with the attached
> stacktrace.
> I have also attached a small example project that shows the Exception. As
> soon as the completionSize is > 1, it runs fine.
> This is just a minor flaw, since I cannot think about a really useful case
> with completionSize 1, but it worked with earlier versions of Camel.
> As an alternative (if completionSize 1 should not be used), Camel could throw
> an error during Context startup when completionSize < 2.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)