Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1657

Postgres connection throws NPE with null properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: None
    • Labels:
      None

      Description

      DataSource.getConnection(String url, Properties p) throws NPE on null Properties. An empty property instead is better because any exception to establish connection is more informative.

        Activity

        Hide
        allee8285 Albert Lee added a comment -

        Close issue in preparation for 2.2.0 release.

        Show
        allee8285 Albert Lee added a comment - Close issue in preparation for 2.2.0 release.

          People

          • Assignee:
            ppoddar@apache.org Pinaki Poddar
            Reporter:
            ppoddar@apache.org Pinaki Poddar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development