[ https://issues.apache.org/jira/browse/AMQCPP-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQCPP-382. --------------------------------- Resolution: Fixed Fix Version/s: 3.5.0 3.4.1 Fix applied in trunk and the 3.4.x branch > Spurious error messages printed by consumer when no messages available to > consumer > ---------------------------------------------------------------------------------- > > Key: AMQCPP-382 > URL: https://issues.apache.org/jira/browse/AMQCPP-382 > Project: ActiveMQ C++ Client > Issue Type: Bug > Affects Versions: 3.4.0 > Environment: OSX 10.7.2, gcc 4.4 > Reporter: Roddie Kieley > Assignee: Timothy Bish > Priority: Minor > Fix For: 3.4.1, 3.5.0 > > > Getting the following output for each null returned by > consumer->receive(timeout): > {code:xml} > Pointer operator-> - Pointee is NULL. > FILE: ./decaf/lang/Pointer.h, LINE: 257 > FILE: activemq/core/ActiveMQConsumer.cpp, LINE: 1165 > FILE: activemq/core/ActiveMQSessionExecutor.cpp, LINE: 141 > {code} > When I connect the simple consumer to a broker with no messages available. > Note simple consumer modified to use receive(long timeout) instead of > setMessageListener(this) with a timeout of 6000. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira