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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: