activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: CMS getString throws exception if string is empty ?
Date Thu, 12 Aug 2010 21:25:48 GMT
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/
> > 
> > 
> > 
> 



Mime
View raw message