ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyra Pritzel-Hentley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-9504) [FB] Package org.apache.ofbiz.accounting.finaccount
Date Mon, 24 Jul 2017 08:41:00 GMT

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

Kyra Pritzel-Hentley updated OFBIZ-9504:
    Flags: Patch

> [FB] Package org.apache.ofbiz.accounting.finaccount
> ---------------------------------------------------
>                 Key: OFBIZ-9504
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9504
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Kyra Pritzel-Hentley
>            Priority: Minor
>         Attachments: OFBIZ-9504_org.apache.ofbiz.accounting.finaccount_bugfixes.patch
> The following Bug was found by the FindBugs Software in the OFBiz codebase and may need
> * RCN: Nullcheck of paymentPref at line 72 of value previously dereferenced in org.apache.ofbiz.accounting.finaccount.FinAccountPaymentServices.finAccountPreAuth(DispatchContext,
> A value is checked here to see whether it is null, but this value can't be null because
it was previously dereferenced and if it were null a null pointer exception would have occurred
at the earlier dereference. Essentially, this code and the previous dereference disagree as
to whether this value is allowed to be null. Either the check is redundant or the previous
dereference is erroneous.

This message was sent by Atlassian JIRA

View raw message