Paul Richardson created CAMEL-13606:
---------------------------------------

             Summary: Olingo Consumer filtering can cause NPE
                 Key: CAMEL-13606
                 URL: https://issues.apache.org/jira/browse/CAMEL-13606
             Project: Camel
          Issue Type: Bug
          Components: camel-olingo2, camel-olingo4
    Affects Versions: 2.21.5
            Reporter: Paul Richardson


When polling with the Olingo*Consumer, the result is intercepted and filtered 
(if filtering is switched on). If a key predicate is used as well then, on 
subsequent polling iterations, the result is filtered to return null. When the 
result is then intercepted and passed to the Olingo*Index for indexing, the 
latter fails to handle the null value and causes an NullPointerException. This 
exception is reported/logged and polling continues with subsequent iterations 
(also blowing up with NPEs). Need to fix the Index classes so they handle null 
values correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to