ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Balkir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-10051) Fixing potential Nullpointer in ContentWorker.checkConditions()
Date Tue, 12 Dec 2017 14:29:00 GMT
Dennis Balkir created OFBIZ-10051:
-------------------------------------

             Summary: Fixing potential Nullpointer in ContentWorker.checkConditions()
                 Key: OFBIZ-10051
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10051
             Project: OFBiz
          Issue Type: Bug
          Components: content
    Affects Versions: Trunk
            Reporter: Dennis Balkir
            Priority: Minor


This potential Nullpointer was found while fixing find-bugs-errors in the file {{ContentWorker.java}}.

The method {{checkConditions}} is missing a proper null-check for the variable {{content}},
which is used frequently in it.
At some point though it might be possible for {{content}} to be null and this would cause
multiple {{NullpointerException}} to be thrown.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message