OpenJPA
  1. OpenJPA
  2. OPENJPA-1296 WriteBehindCache Problems
  3. OPENJPA-1292

NullPointerException when handling WriteBehindConfigurationException

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor 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).

      1. OPENJPA-1292.patch
        0.9 kB
        Tim McConnell

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development