Hi

Yeah sounds like a bug. You are welcome to log a JIRA and provide a
patch with a fix.
http://camel.apache.org/support

On Sun, Mar 29, 2015 at 3:38 AM, JamKage <[email protected]> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to