Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2570

PlexusJdoUtils swallows exceptions, making it difficult to diagnose some problems

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.6, 1.4.0 (Beta)
    • Fix Version/s: None
    • Component/s: Database

      Description

      Line 160 of PlexusJdoUtils swallows an exception, and retries instead. In some circumstances this may have been valid to retry, but in others the exception will lead to an inconsistent state. The second attempt will fail with a different error, leading to some confusion for the user.

      One of the following solutions should be put in place:

      • log a warning with the original exception, saying it may lead to a later problem
      • review the addition of the retry and determine if it should be removed / made more specific so that the original exception will bubble to the user.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brettporter Brett Porter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: