Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1246

In DatabasePersistenceManager.store(), if the exception is null or its cause is not an SQLException, then the PM keeps looping forever

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3, 1.3.1, 1.3.3
    • 1.4
    • jackrabbit-core
    • None
    • Windows XP x64

    Description

      In the line
      if (ise != null && ise.getCause() instanceof SQLException && --trials > 0) {
      if one of the first two checks fails, the shortcircuit doesn't decrement trials.

      Attachments

        Activity

          People

            stefan@jira Stefan Guggisberg
            efranqueiro Esteban Franqueiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: