Camel
  1. Camel
  2. CAMEL-4533

NPE thrown when connection is null loses root cause

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.8.2, 2.9.0
    • Component/s: camel-jdbc
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

      1. camel-4533.txt
        0.7 kB
        Stu Churchill

        Activity

        Stu Churchill created issue -
        Stu Churchill made changes -
        Field Original Value New Value
        Attachment camel-4533.txt [ 12498463 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 2.8.2 [ 12317866 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1182244.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: revision 1182244.
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on camel-2.8.x: revision 1182245.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on camel-2.8.x: revision 1182245.
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Stu Churchill
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development