Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 80337 invoked from network); 7 Jul 2009 19:24:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jul 2009 19:24:22 -0000 Received: (qmail 81919 invoked by uid 500); 7 Jul 2009 19:24:32 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 81875 invoked by uid 500); 7 Jul 2009 19:24:31 -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 81865 invoked by uid 99); 7 Jul 2009 19:24:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 19:24:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2009 19:24:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2BEAA234C051 for ; Tue, 7 Jul 2009 12:24:07 -0700 (PDT) Message-ID: <1861563781.1246994647178.JavaMail.jira@brutus> Date: Tue, 7 Jul 2009 12:24:07 -0700 (PDT) From: "Jim Gomes (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQNET-173) System.FormatExceptions due to parsing bug in StompHelper.cs In-Reply-To: <1350562909.1246914607028.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Gomes updated AMQNET-173: ----------------------------- Fix Version/s: 1.2.0 > System.FormatExceptions due to parsing bug in StompHelper.cs > ------------------------------------------------------------ > > Key: AMQNET-173 > URL: https://issues.apache.org/activemq/browse/AMQNET-173 > Project: ActiveMQ .Net > Issue Type: Bug > Components: Stomp > Affects Versions: 1.1.0 > Environment: Windows XP Pro SP3, Visual Studio Team System 2008 Architecture Edition SP1, NMS 1.1.0, StompConnect, OpenMQ 4.3 > Reporter: David Morris > Assignee: Jim Gomes > Priority: Minor > Fix For: 1.2.0 > > > While developing a C# application using NMS to talk to an OpenMQ broker via StompConnect (which works beautifully, btw), I noticed a couple of System.FormatExceptions being reported in the VStudio console. I traced the exceptions back to StompHelper.cs in lines 171 and 211. Those lines are attempting to call Int32.Parse on a component of the message ID, specifically the last octet of the MAC address component which is immediately followed by a closing parenthesis. The paren is apparently causing the exception. The exception is caught and logged by the Tracer before the method exits, but several attributes of the "answer" object are being left uninitialized as a result. Not a fatal bug to me yet because I'm not using those attributes, but it could be for others. Plus the exception reports bug me. ;) > This JIRA entered per e-mail exchange with Jim Gomes: > "Thanks for letting me know about this. Yes, I agree that this should be cleaned up, but I would like to wait for either a patch release or include it in version 1.2.0. If you enter a JIRA for this, I can more easily track it and get it fixed. Thanks!" > Bug exists in 1.1.0 RC2 as well as proposed official release currently up for vote. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.