storeIncomingEmail assumes variable is not null when it might be
----------------------------------------------------------------

                 Key: OFBIZ-4784
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4784
             Project: OFBiz
          Issue Type: Bug
          Components: party
    Affects Versions: SVN trunk
         Environment: r1309653
            Reporter: Paul Foxworthy
            Priority: Minor


In storeIncomingEmail in CommunicationEventServices.java, the code to assemble 
the aboutThisEmail debugging message assumes addressesFrom and addressesTo are 
not null. But the methods that return values for those variables might return 
null if they encounter an exception.

I have also removed uses of UtilValidate.isEmpty, which should only be used for 
collections and sequences (see OFBIZ-4427).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to