Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A65FBDD02 for ; Mon, 2 Jul 2012 18:59:45 +0000 (UTC) Received: (qmail 70484 invoked by uid 500); 2 Jul 2012 18:59:45 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 70409 invoked by uid 500); 2 Jul 2012 18:59:45 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 70402 invoked by uid 99); 2 Jul 2012 18:59:45 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2012 18:59:45 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 3D6C0141DE5 for ; Mon, 2 Jul 2012 18:59:45 +0000 (UTC) Date: Mon, 2 Jul 2012 18:59:45 +0000 (UTC) From: "Joe Sortelli (JIRA)" To: notifications@ant.apache.org Message-ID: <428389395.1572.1341255585255.JavaMail.jiratomcat@issues-vm> In-Reply-To: <762929580.1569.1341255451898.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (IVYDE-312) Divide by zero during IvyDE resolve MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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