Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-40

NullPointerException occured at rethrow method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Labels:
      None
    • Environment:

      jdk5.0, IBM DB2 Driver for JDBC and SQLJ

      Description

      If SQLException.getMessage() is null when SQLException occured at JDBC Driver.
      QueryRunner.rethrow method throws NullPointerException.

      So I can't get SQL Error code through log as log4j.

        Attachments

          Activity

            People

            • Assignee:
              dfabulich Dan Fabulich
              Reporter:
              hiroto yagi Hiroto Yagi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: