Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13606

Olingo Consumer filtering can cause NPE

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            phantomjinx Paul Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: