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.

Reply via email to