Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4533

NPE thrown when connection is null loses root cause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.1
    • 2.8.2, 2.9.0
    • camel-jdbc
    • None
    • Patch Available
    • Unknown

    Description

      When attempting to run a query against a datasource to which a connection could not be established, the attempt to rollback the transaction (which has not yet started) causes an NPE to be thrown which loses the root cause exception thrown by the driver

      Attachments

        1. camel-4533.txt
          0.7 kB
          Stu Churchill

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            stu.c Stu Churchill
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: