Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-293

An NPE can be thrown if the connection from a DataSource cannot be created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0.Beta5, 1.2.3.Final
    • None
    • None
    • None

      The close() method in the JdbcRepository does not check if the connection is null before attempting to close it. If the connection was null due to an issue in the DataSource this could result in a NullPointerException.

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: