On Thu, 2010-06-24 at 04:27 -0700, Sodan wrote: > its weird... > > some of the messages we send and recieve are fine: > const MapMessage *mapMessage = dynamic_cast<const MapMessage *>(message); > some are empty, map seems empty, and therefore the itemExists fails... > > could it have something to do with: AMQCPP-261 ? >
I doubt that it has anything to do with that issue, can you provide a small but complete sample showing how you are using the client and where the error occurs, that's the easiest way for me to figure out where the problem lies. Regards > Søren > > > > > Timothy Bish wrote: > > > > On Thu, 2010-06-24 at 03:40 -0700, Sodan wrote: > >> thanx. our project actually compiles and runs now, but getting this > >> strange > >> bug now: > >> > >> using: map->itemExists(inName) > >> > >> > >> app_debug.exe!std::_Debug_message(const wchar_t * message, const wchar_t > >> * > >> file, unsigned int line) Line 15 C++ > >> app_debug.exe!std::vector<unsigned char,std::allocator<unsigned char> > >> >::operator[](unsigned int _Pos) Line 932 + 0x14 bytes C++ > >> app_debug.exe!activemq::wireformat::openwire::marshal::PrimitiveTypesMarshaller::unmarshalPrimitive(decaf::io::DataInputStream > >> & dataIn) Line 415 + 0xd bytes C++ > >> app_debug.exe!activemq::wireformat::openwire::marshal::PrimitiveTypesMarshaller::unmarshalPrimitiveMap(decaf::io::DataInputStream > >> & dataIn, activemq::util::PrimitiveMap & map) Line 344 + 0x10 bytes > >> C++ > >> app_debug.exe!activemq::wireformat::openwire::marshal::PrimitiveTypesMarshaller::unmarshalMap(decaf::io::DataInputStream > >> & dataIn) Line 155 + 0x15 bytes C++ > >> app_debug.exe!activemq::commands::ActiveMQMapMessage::checkMapIsUnmarshalled() > >> > >> Line 177 + 0xc bytes C++ > >> app_debug.exe!activemq::commands::ActiveMQMapMessage::getMap() Line 153 > >> C++ > >> app_debug.exe!activemq::commands::ActiveMQMapMessage::itemExists(const > >> std::basic_string<char,std::char_traits<char>,std::allocator<char> > & > >> name) > >> Line 207 + 0xb bytes C++ > >> > >> > >> Søren > >> > > > > I'd need a sample app that demonstrates the issue to figure out what > > this is related to. > > > > 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/ > > > > > > > -- 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/