[jboss-cvs] JBossAS SVN: r74943 - branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/server.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jun 23 22:00:15 EDT 2008
Author: bershath27
Date: 2008-06-23 22:00:15 -0400 (Mon, 23 Jun 2008)
New Revision: 74943
Modified:
branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/server/ClientMonitorInterceptor.java
Log:
http://jira.jboss.org/jira/browse/JBPAPP-870
Modified: branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/server/ClientMonitorInterceptor.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/server/ClientMonitorInterceptor.java 2008-06-24 00:44:24 UTC (rev 74942)
+++ branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/server/ClientMonitorInterceptor.java 2008-06-24 02:00:15 UTC (rev 74943)
@@ -71,7 +71,7 @@
{
ConnectionToken dc = (ConnectionToken) i.next();
ClientStats cs = (ClientStats) clients.get(dc);
- if (cs.disconnectIfInactive && cs.lastUsed < disconnectTime)
+ if (cs != null && cs.disconnectIfInactive && cs.lastUsed < disconnectTime)
{
try
{
More information about the jboss-cvs-commits
mailing list