[
https://issues.apache.org/jira/browse/CAMEL-7146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Burkard updated CAMEL-7146:
----------------------------------
Attachment: Camel-7146-example.tgz
Example project that shows the behaviour with completionSize = 1
> NPE in LevelDB component when aggregator completionSize = 1
> -----------------------------------------------------------
>
> Key: CAMEL-7146
> URL: https://issues.apache.org/jira/browse/CAMEL-7146
> Project: Camel
> Issue Type: Bug
> Components: camel-leveldb
> Affects Versions: 2.12.2
> Reporter: Stefan Burkard
> Priority: Trivial
> Labels: aggregator
> Attachments: Camel-7146-example.tgz, Camel-7146-stacktrace.txt
>
>
> A Camel aggregator with persistence repository of type LevelDB 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 technically works with other repository types.
> 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)