You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Benedikt Lesch (JIRA)" <ji...@apache.org> on 2015/02/26 14:15:04 UTC

[jira] [Created] (OLINGO-586) Filter substringof not causes NullPointerException

Benedikt Lesch created OLINGO-586:
-------------------------------------

             Summary: Filter substringof not causes NullPointerException
                 Key: OLINGO-586
                 URL: https://issues.apache.org/jira/browse/OLINGO-586
             Project: Olingo
          Issue Type: Bug
          Components: odata2-jpa
    Affects Versions: V2 2.0.3
            Reporter: Benedikt Lesch
            Priority: Minor


The expression methodFlag.get() == 1 in line 220  of
org.apache.olingo.odata2.jpa.processor.core.ODataExpressionParser
causes a NullPointerExcpetion.
methodFlag.get() is null at this point, the comparison to the int value causes 
an implicit call of methodFlag.get().intValue which causes the exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)