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/06/01 05:11:12 UTC

[jira] [Commented] (OLINGO-955) NPE in Annotation List Processor

    [ https://issues.apache.org/jira/browse/OLINGO-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15309274#comment-15309274 ] 

Michael Bolz commented on OLINGO-955:
-------------------------------------

Hi [~bodos],

I made a minor change to your patch so that also other possible NPEs are prevented.
Can you please take a look into [this commit|https://git1-us-west.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=5a2718b0a3084f4f241d852f9ad4387d0b0661f4] and give feedback.

Best Regards, Michael

> NPE in Annotation List Processor
> --------------------------------
>
>                 Key: OLINGO-955
>                 URL: https://issues.apache.org/jira/browse/OLINGO-955
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-annotation
>    Affects Versions: V2 2.0.6
>         Environment: All
>            Reporter: Stefan Bodenstein
>            Assignee: Michael Bolz
>             Fix For: V2 2.0.7
>
>         Attachments: patchAnnotationProcessorNPE.diff
>
>
> In case a entity property contains a null value the substringof filter function throws a NPE. In case the substringof is used within the "or" operator, the whole expression evaluates to false.



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