Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1296 WriteBehindCache Problems
  3. OPENJPA-1292

NullPointerException when handling WriteBehindConfigurationException

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-M3
    • Component/s: writebehind
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      There is a small window in PersistenceProviderImpl where an exception can be caught such that the _log instance variable is used prior to it being initialized, resulting in a NullPointerException getting thrown and masking the real exception (e.g., WriteBehindConfigurationException).

        Attachments

          Activity

            People

            • Assignee:
              mcconne Tim McConnell
              Reporter:
              mcconne Tim McConnell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: