From users-return-24795-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Aug 04 07:34:13 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 75178 invoked from network); 4 Aug 2010 07:34:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 07:34:13 -0000 Received: (qmail 94722 invoked by uid 500); 4 Aug 2010 07:34:13 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 94498 invoked by uid 500); 4 Aug 2010 07:34:10 -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 94489 invoked by uid 99); 4 Aug 2010 07:34:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 07:34:09 +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 (athena.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; Wed, 04 Aug 2010 07:34:02 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OgYTu-00051i-B1 for users@activemq.apache.org; Wed, 04 Aug 2010 00:33:42 -0700 Message-ID: <29342865.post@talk.nabble.com> Date: Wed, 4 Aug 2010 00:33:42 -0700 (PDT) From: dacy To: users@activemq.apache.org Subject: a bug in activemq-core MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dacy.zhouy@alibaba-inc.com hi i had used activemq5.3.0 in a application, and it crashed a month ago we found there is a bug in activemq's source code. when send message time out ,response return null not exception, but code not handle. it's terrible !!! please fix it as soon as possible~ at ActiveMQConection.java private Response doSyncSendPacket(Command command, int timeout) throws JMSException { try { Response response = (Response)this.transport.request(command, timeout); if (response != null && response.isException()) { ExceptionResponse er = (ExceptionResponse)response; if (er.getException() instanceof JMSException) { throw (JMSException)er.getException(); } else { throw JMSExceptionSupport.create(er.getException()); } } return response; } catch (IOException e) { throw JMSExceptionSupport.create(e); } } -- View this message in context: http://old.nabble.com/a-bug-in-activemq-core-tp29342865p29342865.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.