Author: david.lloyd(a)jboss.com
Date: 2008-02-21 11:12:31 -0500 (Thu, 21 Feb 2008)
New Revision: 3466
Modified:
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/CoreSession.java
Log:
Fix an NPE on client connections
Modified: remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/CoreSession.java
===================================================================
---
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/CoreSession.java 2008-02-21
16:08:55 UTC (rev 3465)
+++
remoting3/trunk/core/src/main/java/org/jboss/cx/remoting/core/CoreSession.java 2008-02-21
16:12:31 UTC (rev 3466)
@@ -106,7 +106,7 @@
}
state.requireTransitionExclusive(State.NEW, State.CONNECTING);
try {
- protocolHandlerFactory.createHandler(protocolContext, remoteUri,
attributeMap);
+ protocolHandler = protocolHandlerFactory.createHandler(protocolContext,
remoteUri, attributeMap);
} finally {
state.releaseExclusive();
}