[
https://issues.apache.org/jira/browse/OLINGO-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bolz updated OLINGO-941:
--------------------------------
Fix Version/s: V2 2.0.7
> Potential NullPointerException if Navigation Property in $select Option
> -----------------------------------------------------------------------
>
> Key: OLINGO-941
> URL: https://issues.apache.org/jira/browse/OLINGO-941
> Project: Olingo
> Issue Type: Bug
> Components: odata2-jpa
> Affects Versions: V2 2.0.6
> Reporter: Michael Burwig
> Assignee: Michael Bolz
> Fix For: V2 2.0.7
>
>
> Specifying a navigation property in a $select option can cause a
> {{NullPointerException}} due to the following lines of code:
> {code:title=ODataJPAResponseBuilderDefault.java|borderStyle=solid}
> ...
> 625 if (selectedItem.isStar() == false &&
> selectedItem.getProperty().equals(keyProperty)) {
> 626 flag = false;
> 627 break;
> 628 }
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)