Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-146

potential NPE in transport while establishing SSL connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • qpid-jms-client
    • None

    Description

      There is an issue in the SSL transport, such that it can potentially NPE while establishing the connection, resulting in the attempt hanging.

      The issue looks to occur due to the way we are adding a listener to Netty, hitting some inconsistency in thread safety, coupled with unpredictable threading behaviour at the point the listener is added to a future versus it being completed, topped by Netty swallowing the exception when it is thrown.

      We should adjust the usage of Netty so that we register the listener earlier such that it gives more predictable thead behaviour and avoids possibility of the NPE.

      Attachments

        Activity

          People

            robbie Robbie Gemmell
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: