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

NullPointerException when handling WriteBehindConfigurationException

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-M3
    • writebehind
    • None
    • 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

        1. OPENJPA-1292.patch
          0.9 kB
          Tim McConnell

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: