You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Guido Amarilla (JIRA)" <ji...@apache.org> on 2007/04/21 02:50:15 UTC

[jira] Created: (OFBIZ-912) When storeIncomingEmail receives an Email without CC or BCC generates Exception

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.


[jira] Closed: (OFBIZ-912) When storeIncomingEmail receives an Email without CC or BCC generates Exception

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (OFBIZ-912) When storeIncomingEmail receives an Email without CC or BCC generates Exception

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (OFBIZ-912) When storeIncomingEmail receives an Email without CC or BCC generates Exception

Posted by "Guido Amarilla (JIRA)" <ji...@apache.org>.
     [ 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.