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

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

          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