Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5835

NullPointerException in KnownSQLStateExceptionSorter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • jboss-fuse-6.2.1
    • CXF, Hibernate
    • None
    • % %

    Description

      Using a MS SQL database via the MS SQL JDBC driver version 4.2, the DB connection is configured with aries.xa.exceptionSorter = known which uses org.tranql.connector.jdbc.KnownSQLStateExceptionSorter.

      Sometimes there is a NullPointerException from this class, where there is not the real underlying cause, because it is maked by the error of the NullPointerException:

      Caused by: java.lang.NullPointerException
      at org.tranql.connector.jdbc.KnownSQLStateExceptionSorter.checkSQLState(KnownSQLStateExceptionSorter.java:110)

      See attached stacktrace.txt

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-rkieley Roderick Kieley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: