Buggy code:
public class JBossRemotingRemoteCommunicator implements RemoteCommunicator { private static final Logger LOG = CommI18NFactory . getLogger ( JBossRemotingRemoteCommunicator . class ) ; public static final String DEFAULT_SUBSYSTEM = "RHQ" ; private volatile InvokerLocator m_invokerLocator ; private final String m_subsystem ; private final Map < String , String > m_clientConfiguration ; private volatile AtomicReference < Client > m_client = new AtomicReference < Client > ( ) ; private volatile FailureCallback m_failureCallback ; private volatile InitializeCallback m_initializeCallback ; private volatile boolean m_needToCallInitializeCallback ; private final ReentrantReadWriteLock m_needToCallInitializeCallbackLock ; private final long m_initializeCallbackLockAcquisitionTimeoutMins ; public JBossRemotingRemoteCommunicator ( String locatorUri ) throws MalformedURLException { } public JBossRemotingRemoteCommunicator ( String locatorUri , Map < String , String > client_config ) throws MalformedURLException { } public JBossRemotingRemoteCommunicator ( InvokerLocator locator , String subsystem , Map < String , String > client_config ) { } public InvokerLocator getInvokerLocator ( ) { } public void setRemoteEndpoint ( String endpoint ) throws Exception { } public String getSubsystem ( ) { } public FailureCallback getFailureCallback ( ) { } public void setFailureCallback ( FailureCallback callback ) { } public InitializeCallback getInitializeCallback ( ) { } public void setInitializeCallback ( InitializeCallback callback ) { } public String getRemoteEndpoint ( ) { } public Map < String , String > getClientConfiguration ( ) { } public void connect ( ) throws Exception { } public void disconnect ( ) { } public boolean isConnected ( ) { } public CommandResponse sendWithoutCallbacks ( Command command ) throws Throwable { } public CommandResponse sendWithoutInitializeCallback ( Command command ) throws Throwable { } public CommandResponse send ( Command command ) throws Throwable { } private CommandResponse rawSend ( Command command ) throws Throwable { Object ret_response ; try { try { OutgoingCommandTrace . start ( command ) ; ret_response = invoke ( command ) ; OutgoingCommandTrace . finish ( command , ret_response ) ; } catch ( ServerInvoker serverDown ) { ret_response = invoke ( command ) ; OutgoingCommandTrace . finish ( command , ret_response ) ; } catch ( MarshalException rmie ) { if ( ( ( ( ( rmie . getCause ( ) ) != null ) && ( ( rmie . getCause ( ) ) instanceof SSLException ) ) && ( ( rmie . getCause ( ) . getMessage ( ) ) != null ) ) && ( rmie . getCause ( ) . getMessage ( ) . startsWith ( "Connection<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>shutdown" ) ) ) { <START_BUG> ret_response = getRemotingClient ( ) . invoke ( command , null ) ; <END_BUG> OutgoingCommandTrace . finish ( command , ret_response ) ; } else { throw rmie ; } } } catch ( Throwable t ) { OutgoingCommandTrace . finish ( command , t ) ; throw t ; } if ( ret_response instanceof Exception ) { throw ( ( Exception ) ( ret_response ) ) ; } try { return ( ( CommandResponse ) ( ret_response ) ) ; } catch ( Exception e ) { JBossRemotingRemoteCommunicator . LOG . error ( COMM_CCE , ret_response ) ; return new org . rhq . enterprise . communications . command . impl . generic . GenericCommandResponse ( command , false , ret_response , e ) ; } } private CommandResponse invokeInitializeCallbackIfNeeded ( Command command ) { } private boolean invokeFailureCallbackIfNeeded ( Command command , CommandResponse response , Throwable throwable ) { } @ Override public String toString ( ) { } private Object invoke ( Command command ) throws Throwable { } private void cacheClient ( Client client ) { } }

Fix:
ret_response = invoke ( command ) ;