Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3721

StompNIOTransport doStop should check for null before calling selection.stop()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.5.1
    • 5.6.0
    • STOMP
    • None

    Description

      The StompNIOTransport calls selection.stop() in doStop and prints an exception stack trace to the console, the selection object is initialized in initializeStreams which may not be called if an error occurs as the connection is being establised. We should add a null check and not output stack trace data to the console.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: