You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/04/25 20:35:12 UTC
[jira] [Assigned] (OLINGO-941) Potential NullPointerException if
Navigation Property in $select Option
[ https://issues.apache.org/jira/browse/OLINGO-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Bolz reassigned OLINGO-941:
-----------------------------------
Assignee: Michael Bolz
> 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
>
> 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)