You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/11/10 09:38:58 UTC

[jira] [Updated] (OAK-4269) Firebug warning: possible null-pointer dereference in S3Backend

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

Julian Reschke updated OAK-4269:
--------------------------------
    Fix Version/s: 1.6

> Firebug warning: possible null-pointer dereference in S3Backend
> ---------------------------------------------------------------
>
>                 Key: OAK-4269
>                 URL: https://issues.apache.org/jira/browse/OAK-4269
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob
>            Reporter: Alfusainey Jallow
>            Assignee: Amit Jain
>            Priority: Minor
>             Fix For: 1.6, 1.5.2
>
>         Attachments: s3backend-minor-fix.patch
>
>
> [~amitjain] kindly look at the attached patch. it could be that when the actual exception is thrown, `callback` will never be null since the null-check is already handled in the try. but for some reason findbug is not happy (so i just added a simple null check in case an exception happens to be thrown in the try)



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