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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 11h 13m 1 Jean-Baptiste Onofré 12/Oct/11 08:48
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1182244.

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

          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