Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E804B9C25 for ; Thu, 16 Feb 2012 00:23:26 +0000 (UTC) Received: (qmail 1382 invoked by uid 500); 16 Feb 2012 00:23:26 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 1334 invoked by uid 500); 16 Feb 2012 00:23:26 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 1326 invoked by uid 99); 16 Feb 2012 00:23:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 00:23:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 00:23:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2F3C71B93C7 for ; Thu, 16 Feb 2012 00:23:00 +0000 (UTC) Date: Thu, 16 Feb 2012 00:23:00 +0000 (UTC) From: "Timothy Bish (Created) (JIRA)" To: dev@activemq.apache.org Message-ID: <723889627.43923.1329351780194.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AMQ-3721) StompNIOTransport doStop should check for null before calling selection.stop() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org StompNIOTransport doStop should check for null before calling selection.stop() ------------------------------------------------------------------------------ Key: AMQ-3721 URL: https://issues.apache.org/jira/browse/AMQ-3721 Project: ActiveMQ Issue Type: Improvement Components: stomp Affects Versions: 5.5.1 Reporter: Timothy Bish Assignee: Timothy Bish Priority: Trivial Fix For: 5.6.0 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira