[
https://issues.apache.org/jira/browse/OLINGO-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benedikt Lesch closed OLINGO-586.
---------------------------------
Resolution: Invalid
> 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
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)