Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 4511 invoked from network); 12 Aug 2010 21:26:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Aug 2010 21:26:17 -0000 Received: (qmail 79263 invoked by uid 500); 12 Aug 2010 21:26:17 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 79222 invoked by uid 500); 12 Aug 2010 21:26:17 -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 79214 invoked by uid 99); 12 Aug 2010 21:26:16 -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:26:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tabish121@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Aug 2010 21:26:10 +0000 Received: by vws8 with SMTP id 8so1613474vws.2 for ; Thu, 12 Aug 2010 14:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=0lj/VUxceKa3xsq+uzVzqwej2cemOIkMUsNUadMM4/E=; b=uWp1Vv7R3+Cqml5vFpV28/PXNvSiKYYLFn9PgtyREK8H4EZgZ2/xInvjRfmqKzYgOu lLSc5sSwtJMzO3Hr2A9kYsdPRZyGXQSP2T3Nj8SFcaVJBR93d2q3fbHADfaWkOXSsvDF u5qCASrUOIZT8MlcjkCCC6rk9D/TAqlqhZzWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=CVqjy0ZgK3M1JL+wVfCeTLb/HMYWd9hjLxPW+Qd2WEObiPdWnovP2V8Iqs6ZIBPExh YwH+k1AsT6KKn7bck2zjK8WKaReWdwY4+BtiexGKt0opxmw6725MyOLXdrRJW3o+YvAV z+TtYb440dE/8Gh6do7mbMf5l2oG7Q9ystoZo= Received: by 10.220.60.15 with SMTP id n15mr457872vch.158.1281648349645; Thu, 12 Aug 2010 14:25:49 -0700 (PDT) Received: from [192.168.2.150] (c-76-21-195-19.hsd1.va.comcast.net [76.21.195.19]) by mx.google.com with ESMTPS id i8sm301888vcr.33.2010.08.12.14.25.48 (version=SSLv3 cipher=RC4-MD5); Thu, 12 Aug 2010 14:25:49 -0700 (PDT) Subject: Re: CMS getString throws exception if string is empty ? From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <29423370.post@talk.nabble.com> References: <29420197.post@talk.nabble.com> <1281646211.2480.14.camel@localhost> <29423370.post@talk.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 12 Aug 2010 17:25:48 -0400 Message-ID: <1281648348.2480.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 (2.30.2-4.fc13) Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2010-08-12 at 14:17 -0700, Sodan wrote: > what file was changed? > > Søren Check the svn log: svn log -v -l 1 Regards Tim. > > > Timothy Bish wrote: > > > > On Thu, 2010-08-12 at 08:50 -0700, Sodan wrote: > >> example: > >> > >> try { > >> string xx = map->getString("myString"); > >> return xx; > >> } > >> catch (...) { > >> // failed > >> MessageBeep(-1); > >> } > >> > >> > >> if the field myString in the message is empty (ie. ""), then it throws an > >> exception. > >> > >> I am using 3.2.2 > >> > >> please help with a fix asap ! > >> Søren > >> > > > > 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. > > > > Regards > > > > -- > > Tim Bish > > > > Open Source Integration: http://fusesource.com > > ActiveMQ in Action: http://www.manning.com/snyder/ > > > > Follow me on Twitter: http://twitter.com/tabish121 > > My Blog: http://timbish.blogspot.com/ > > > > > > >