You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Chandan V.A (JIRA)" <ji...@apache.org> on 2015/03/04 08:36:05 UTC

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

     [ https://issues.apache.org/jira/browse/OLINGO-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chandan V.A reassigned OLINGO-586:
----------------------------------

    Assignee: Chandan V.A

> Filter substringof 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
>            Assignee: Chandan V.A
>            Priority: Minor
>              Labels: easyfix
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> 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.
> Edit: only occurs when "eq true" is missing after filter



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