qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r711377 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_0_10.java
Date Tue, 04 Nov 2008 20:13:07 GMT
Author: rhs
Date: Tue Nov  4 12:13:07 2008
New Revision: 711377

URL: http://svn.apache.org/viewvc?rev=711377&view=rev
Log:
QPID-1430: fixed an NPE on connection close

Modified:
    incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_0_10.java

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_0_10.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_0_10.java?rev=711377&r1=711376&r2=711377&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_0_10.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_0_10.java
Tue Nov  4 12:13:07 2008
@@ -206,7 +206,7 @@
         ConnectionException exc = exception;
         exception = null;
 
-        ConnectionClose close = exc.getClose();
+        ConnectionClose close = (exc == null ? null : exc.getClose());
         if (close == null)
         {
             try



Mime
View raw message