Program: 126199
Project: 126199
Buggy source:
private void testSalesforceLogin(){
  endPoint=webServiceUrlText.getText();
  username=userNameText.getText();
  pwd=passwordText.getText();
  timeOut=timeOutText.getText();
  endPointForOAuth=webServiceUrlTextForOAuth.getText();
  apiVersion=apiVersionText.getText();
  consumeKey=consumeKeyText.getText();
  consumeKeySrcret=consumeKeySecretText.getText();
  callbackHost=callbackHostText.getText();
  callbackPort=callbackPortText.getText();
  token=tokenText.getText();
  if (isContextMode() && getContextModeManager() != null) {
    ContextType contextTypeForContextMode=ConnectionContextHelper.getContextTypeForContextMode(connectionItem.getConnection());
    getContextModeManager().setSelectedContextType(contextTypeForContextMode);
    endPoint=getContextModeManager().getOriginalValue(endPoint);
    username=getContextModeManager().getOriginalValue(username);
    pwd=getContextModeManager().getOriginalValue(pwd);
    timeOut=getContextModeManager().getOriginalValue(timeOut);
    endPointForOAuth=getContextModeManager().getOriginalValue(endPointForOAuth);
    apiVersion=getContextModeManager().getOriginalValue(apiVersion);
    consumeKey=getContextModeManager().getOriginalValue(consumeKey);
    consumeKeySrcret=getContextModeManager().getOriginalValue(consumeKeySrcret);
    callbackHost=getContextModeManager().getOriginalValue(callbackHost);
    callbackPort=getContextModeManager().getOriginalValue(callbackPort);
    token=getContextModeManager().getOriginalValue(token);
  }
}

Fixed version (ground truth):
private void testSalesforceLogin(){
  endPoint=webServiceUrlText.getText();
  username=userNameText.getText();
  pwd=passwordText.getText();
  timeOut=timeOutText.getText();
  endPointForOAuth=webServiceUrlTextForOAuth.getText();
  apiVersion=apiVersionText.getText();
  consumeKey=consumeKeyText.getText();
  consumeKeySrcret=consumeKeySecretText.getText();
  callbackHost=callbackHostText.getText();
  callbackPort=callbackPortText.getText();
  token=tokenText.getText();
  if (useHttpBtn.getSelection()) {
    proxyHost=proxyHostText.getText();
    proxyPort=proxyPortText.getText();
    proxyUsername=proxyUsernameText.getText();
    proxyPassword=proxyPasswordText.getText();
  }
  if (isContextMode() && getContextModeManager() != null) {
    ContextType contextTypeForContextMode=ConnectionContextHelper.getContextTypeForContextMode(connectionItem.getConnection());
    getContextModeManager().setSelectedContextType(contextTypeForContextMode);
    endPoint=getContextModeManager().getOriginalValue(endPoint);
    username=getContextModeManager().getOriginalValue(username);
    pwd=getContextModeManager().getOriginalValue(pwd);
    timeOut=getContextModeManager().getOriginalValue(timeOut);
    endPointForOAuth=getContextModeManager().getOriginalValue(endPointForOAuth);
    apiVersion=getContextModeManager().getOriginalValue(apiVersion);
    consumeKey=getContextModeManager().getOriginalValue(consumeKey);
    consumeKeySrcret=getContextModeManager().getOriginalValue(consumeKeySrcret);
    callbackHost=getContextModeManager().getOriginalValue(callbackHost);
    callbackPort=getContextModeManager().getOriginalValue(callbackPort);
    token=getContextModeManager().getOriginalValue(token);
    if (useHttpBtn.getSelection()) {
      proxyHost=getContextModeManager().getOriginalValue(proxyHost);
      proxyPort=getContextModeManager().getOriginalValue(proxyPort);
      proxyUsername=getContextModeManager().getOriginalValue(proxyUsername);
      proxyPassword=getContextModeManager().getOriginalValue(proxyPassword);
    }
  }
}