Author: ron.sigal(a)jboss.com
Date: 2009-09-14 19:29:42 -0400 (Mon, 14 Sep 2009)
New Revision: 5476
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
Log:
JBREM-1146: Before checking generalized IOExceptions, check that exception message is not
null.
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2009-09-14
23:10:58 UTC (rev 5475)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java 2009-09-14
23:29:42 UTC (rev 5476)
@@ -930,7 +930,7 @@
}
catch (IOException e)
{
- if (isGeneralizeSocketException() &&
RETRIABLE_ERROR_MESSAGE.matcher(e.getMessage()).matches())
+ if (isGeneralizeSocketException() && e.getMessage() != null
&& RETRIABLE_ERROR_MESSAGE.matcher(e.getMessage()).matches())
{
handleRetriableException(socketWrapper, e, retryCount);
sockEx = new SocketException(e.getMessage());
Show replies by date