When storeIncomingEmail receives an Email without CC or BCC generates Exception
------------------------------------------------------------------------------- Key: OFBIZ-912 URL: https://issues.apache.org/jira/browse/OFBIZ-912 Project: OFBiz (The Open for Business Project) Issue Type: Bug Components: content Affects Versions: SVN trunk Environment: MCA rules to process incoming Emails should be active. Reporter: Guido Amarilla Priority: Trivial An exception is thrown when storeIncomingEmail is called with a Email that has CC and/or BCC empty, because these lists are not checked for null before accesing length property. This is a quick and dirty patch to check for null. (The test environment to reproduce this error was using Opentaps CRMSFA processIncomingEmail) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guido Amarilla updated OFBIZ-912: --------------------------------- Attachment: EmailServices.patch > When storeIncomingEmail receives an Email without CC or BCC generates Exception > ------------------------------------------------------------------------------- > > Key: OFBIZ-912 > URL: https://issues.apache.org/jira/browse/OFBIZ-912 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content > Affects Versions: SVN trunk > Environment: MCA rules to process incoming Emails should be active. > Reporter: Guido Amarilla > Priority: Trivial > Attachments: EmailServices.patch > > > An exception is thrown when storeIncomingEmail is called with a Email that has CC and/or BCC empty, because these lists are not checked for null before accesing length property. > This is a quick and dirty patch to check for null. > (The test environment to reproduce this error was using Opentaps CRMSFA processIncomingEmail) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato reassigned OFBIZ-912: --------------------------------------- Assignee: Jacopo Cappellato > When storeIncomingEmail receives an Email without CC or BCC generates Exception > ------------------------------------------------------------------------------- > > Key: OFBIZ-912 > URL: https://issues.apache.org/jira/browse/OFBIZ-912 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content > Affects Versions: SVN trunk > Environment: MCA rules to process incoming Emails should be active. > Reporter: Guido Amarilla > Assigned To: Jacopo Cappellato > Priority: Trivial > Attachments: EmailServices.patch > > > An exception is thrown when storeIncomingEmail is called with a Email that has CC and/or BCC empty, because these lists are not checked for null before accesing length property. > This is a quick and dirty patch to check for null. > (The test environment to reproduce this error was using Opentaps CRMSFA processIncomingEmail) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato closed OFBIZ-912. ----------------------------------- Resolution: Fixed Thanks Guido, your patch is in rev. 530980 > When storeIncomingEmail receives an Email without CC or BCC generates Exception > ------------------------------------------------------------------------------- > > Key: OFBIZ-912 > URL: https://issues.apache.org/jira/browse/OFBIZ-912 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: content > Affects Versions: SVN trunk > Environment: MCA rules to process incoming Emails should be active. > Reporter: Guido Amarilla > Assigned To: Jacopo Cappellato > Priority: Trivial > Attachments: EmailServices.patch > > > An exception is thrown when storeIncomingEmail is called with a Email that has CC and/or BCC empty, because these lists are not checked for null before accesing length property. > This is a quick and dirty patch to check for null. > (The test environment to reproduce this error was using Opentaps CRMSFA processIncomingEmail) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |