You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Joe Sortelli (JIRA)" <ji...@apache.org> on 2012/07/02 20:59:45 UTC

[jira] [Updated] (IVYDE-312) Divide by zero during IvyDE resolve

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

Joe Sortelli updated IVYDE-312:
-------------------------------

    Attachment: apache-ivyd3-jira-IVYDE-312_patch1.patch

Here is a patch that will abort the resolve job if the resolveQueue is already empty.

Patch created on r1356372.
                
> Divide by zero during IvyDE resolve
> -----------------------------------
>
>                 Key: IVYDE-312
>                 URL: https://issues.apache.org/jira/browse/IVYDE-312
>             Project: IvyDE
>          Issue Type: Bug
>          Components: workspace resolver
>    Affects Versions: 2.2.0.beta1
>            Reporter: Joe Sortelli
>         Attachments: apache-ivyd3-jira-IVYDE-312_patch1.patch
>
>
> If two IvyResolveJobs are running, a divide by zero error will occur when one of the jobs receives a zero length toResolve list, since the other job thread cleared the resolveQueue.
> The user will see the following error message:
> An internal error occurred during: "IvyDE resolve".
> / by zero

--
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