IvyDE
  1. IvyDE
  2. IVYDE-312

Divide by zero during IvyDE resolve

    Details

      Description

      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

        Activity

        Joe Sortelli created issue -
        Hide
        Joe Sortelli added a comment -

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

        Patch created on r1356372.

        Show
        Joe Sortelli added a comment - Here is a patch that will abort the resolve job if the resolveQueue is already empty. Patch created on r1356372.
        Joe Sortelli made changes -
        Field Original Value New Value
        Attachment apache-ivyd3-jira-IVYDE-312_patch1.patch [ 12534317 ]
        Nicolas Lalevée made changes -
        Labels patch
        Hide
        Nicolas Lalevée added a comment -

        Patch applied, thank you.
        Just, next time you provide a patch, consider clicking on "Grant license to ASF". Here the patch is quite trivial, so it is OK.

        Show
        Nicolas Lalevée added a comment - Patch applied, thank you. Just, next time you provide a patch, consider clicking on "Grant license to ASF". Here the patch is quite trivial, so it is OK.
        Nicolas Lalevée made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Nicolas Lalevée [ hibou ]
        Fix Version/s trunk [ 12320552 ]
        Resolution Fixed [ 1 ]
        Hide
        Nicolas Lalevée added a comment -

        Ignore my comment on license granting, it is just jira which doesn't show the feather on the main page, only in the attachement management one

        Show
        Nicolas Lalevée added a comment - Ignore my comment on license granting, it is just jira which doesn't show the feather on the main page, only in the attachement management one
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        12d 23h 40m 1 Nicolas Lalevée 15/Jul/12 19:36

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            Joe Sortelli
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development