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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3, 1.3.1, 1.3.3
    • Fix Version/s: 1.4
    • Component/s: jackrabbit-core
    • Labels:
      None
    • Environment:
      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.

        Activity

        Hide
        Stefan Guggisberg added a comment -

        fixed in svn r599769

        thanks for reporting this issue!

        Show
        Stefan Guggisberg added a comment - fixed in svn r599769 thanks for reporting this issue!

          People

          • Assignee:
            Stefan Guggisberg
            Reporter:
            Esteban Franqueiro
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development