Aggregation raises NullPointerException if last file in batch is not to be 
aggregated.
--------------------------------------------------------------------------------------

                 Key: CAMEL-2798
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2798
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.3.0
         Environment: Windows 7. NTFS.
            Reporter: Andreas Asmuss
            Priority: Critical
             Fix For: 2.4.0


When trying to aggregate files from a directory, it seems that camel-core 
raises a NullPointerException if the last file of the batch is a single file. 
That is it doesn't match the correlationExpression with any other files and 
therefore should just pass through. If such a file is the first file or in the 
middle of the files (alphabetically) this issue is not present.

See:
http://old.nabble.com/Aggregator-problem-with-files-(Camel-2.3)-td28778641.html#a28780522

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to