Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 1519 invoked from network); 12 Aug 2010 21:17:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Aug 2010 21:17:53 -0000 Received: (qmail 71476 invoked by uid 500); 12 Aug 2010 21:17:52 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 71271 invoked by uid 500); 12 Aug 2010 21:17:52 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 71259 invoked by uid 99); 12 Aug 2010 21:17:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Aug 2010 21:17:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Aug 2010 21:17:46 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ojf9S-00021t-2F for users@activemq.apache.org; Thu, 12 Aug 2010 14:17:26 -0700 Message-ID: <29423370.post@talk.nabble.com> Date: Thu, 12 Aug 2010 14:17:26 -0700 (PDT) From: Sodan To: users@activemq.apache.org Subject: Re: CMS getString throws exception if string is empty ? In-Reply-To: <1281646211.2480.14.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: sodan@sodan.dk References: <29420197.post@talk.nabble.com> <1281646211.2480.14.camel@localhost> X-Virus-Checked: Checked by ClamAV on apache.org what file was changed? S=C3=B8ren Timothy Bish wrote: >=20 > On Thu, 2010-08-12 at 08:50 -0700, Sodan wrote: >> example: >>=20 >> try { >> string xx =3D map->getString("myString"); >> return xx; >> } >> catch (...) { >> // failed >> MessageBeep(-1); >> } >>=20 >>=20 >> if the field myString in the message is empty (ie. ""), then it throws a= n >> exception. >>=20 >> I am using 3.2.2 >>=20 >> please help with a fix asap ! >> S=C3=B8ren >>=20 >=20 > You're welcome to try the code in the 3.2.x fixes branch in SVN, I just > added a change that should fix the problem. >=20 > Regards >=20 > --=20 > Tim Bish >=20 > Open Source Integration: http://fusesource.com > ActiveMQ in Action: http://www.manning.com/snyder/ >=20 > Follow me on Twitter: http://twitter.com/tabish121 > My Blog: http://timbish.blogspot.com/ >=20 >=20 >=20 --=20 View this message in context: http://old.nabble.com/CMS-getString-throws-ex= ception-if-string-is-empty---tp29420197p29423370.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.