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

Chandan V.A resolved OLINGO-586.
--------------------------------
       Resolution: Fixed
    Fix Version/s: V2 2.0.4

Hi,
The issue is fixed with the commit - 
http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/345b33dd 

Regards
Chandan

> 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
>             Fix For: V2 2.0.4
>
>   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)

Reply via email to