FAQ
If a custom AbstractListAggregationStrategy is used to aggregate an empty
List (e.g. after using split on an empty list and using the aggregation
strategy), a NPE is thrown:



A unit test
<http://camel.465427.n5.nabble.com/file/n5764965/CustomListAggregationStrategyEmptySplitTest.java>
is attached to show this failure.

Pretty sure this is a bug, but wanted to maintain common courtesy and ask
the community before raising a JIRA ticket. I'm also happy to issue a pull
request; the fix is fairly trivial.

Cheers,

James



--
View this message in context: http://camel.465427.n5.nabble.com/NullPointerException-on-empty-List-in-AbstractListAggregationStrategy-tp5764965.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriescamel
postedMar 30, '15 at 7:42a
activeApr 2, '15 at 9:52a
posts3
users2
websitecamel.apache.org

2 users in discussion

Claus Ibsen: 2 posts JamKage: 1 post

People

Translate

site design / logo © 2022 Grokbase