You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Holzer (JIRA)" <ji...@apache.org> on 2015/06/03 17:21:38 UTC

[jira] [Closed] (OLINGO-685) ODataJsonDeserializer throws NullpointerException if no @odata.id annotation is present

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

Christian Holzer closed OLINGO-685.
-----------------------------------
    Resolution: Fixed

Fixed with [OLINGO-685|https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=4cd8752e15ab0f3240980ff274d8fcd2942bb095]

> ODataJsonDeserializer throws NullpointerException if no @odata.id annotation is present
> ---------------------------------------------------------------------------------------
>
>                 Key: OLINGO-685
>                 URL: https://issues.apache.org/jira/browse/OLINGO-685
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0
>            Reporter: Christian Holzer
>            Assignee: Christian Holzer
>
> The ODataJsonDeserializer throws a NullpointerExecption if either a collection of references contains a custom annotation or single Entity reference requests contains no @odata.id annotation.
> Furthermore currently a payload like the following is allowed:
> {code}
> {
>     "odata.context": "$metadata#Collection($ref)",
>         "value": "ESAllPrim(0)"
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)