OpenJPA
  1. OpenJPA
  2. OPENJPA-1657

Postgres connection throws NPE with null properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        352d 5h 40m 1 Michael Dick 27/Apr/11 22:26
        Resolved Resolved Closed Closed
        280d 19h 4m 1 Albert Lee 02/Feb/12 16:30
        Albert Lee made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Albert Lee added a comment -

        Close issue in preparation for 2.2.0 release.

        Show
        Albert Lee added a comment - Close issue in preparation for 2.2.0 release.
        Michael Dick made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1.1 [ 12316191 ]
        Fix Version/s 2.2.0 [ 12315910 ]
        Resolution Fixed [ 1 ]
        Pinaki Poddar created issue -

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            Pinaki Poddar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development