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 Burwig (JIRA)" <ji...@apache.org> on 2016/04/25 11:39:13 UTC
[jira] [Created] (OLINGO-941) Potential NullPointerException if
Navigation Property in $select Option
Michael Burwig created OLINGO-941:
-------------------------------------
Summary: 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
Specifying a navigation property in a $select option can cause a {{NullPointerException}} due to the following line 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)