Program: 30272
Project: 30272
Buggy source:
public DcomInfo(Node theNode) throws WindowsException {
  TokenResolver resolver=new TokenResolver(new HashMap<String,String>((Map)(System.getProperties())));
  node=theNode;
  if (node == null)   throw new WindowsException(Strings.get("String_Node_Str","String_Node_Str"));
  if (!isDcomNode(node))   throw new WindowsException(Strings.get("String_Node_Str",getNode().getName(),getNode().getType()));
  SshConnector conn=node.getSshConnector();
  if (conn == null)   throw new WindowsException(Strings.get("String_Node_Str"));
  SshAuth auth=conn.getSshAuth();
  if (auth == null)   throw new WindowsException(Strings.get("String_Node_Str"));
  String notFinal=auth.getPassword();
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  password=DcomUtils.resolvePassword(notFinal);
  notFinal=node.getNodeHost();
  if (!ok(notFinal))   notFinal=conn.getSshHost();
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  host=resolver.resolve(notFinal);
  notFinal=auth.getUserName();
  if (!ok(notFinal))   notFinal=System.getProperty("String_Node_Str");
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  user=resolver.resolve(notFinal);
  notFinal=node.getWindowsDomain();
  if (!ok(notFinal))   notFinal=host;
  windowsDomain=resolver.resolve(notFinal);
  notFinal=node.getInstallDirUnixStyle();
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  if (!notFinal.endsWith("String_Node_Str"))   notFinal+="String_Node_Str";
  notFinal+=SystemPropertyConstants.getComponentName();
  notFinal+="String_Node_Str";
  notFinal=StringUtils.quotePathIfNecessary(notFinal);
  notFinal=notFinal.replace('/','\\');
  nadminParentPath=notFinal;
  nadminPath=notFinal + "String_Node_Str";
  credentials=new WindowsCredentials(getHost(),getWindowsDomain(),getUser(),getPassword());
}

Fixed version (ground truth):
public DcomInfo(Node theNode) throws WindowsException {
  TokenResolver resolver=new TokenResolver(new HashMap<String,String>((Map)(System.getProperties())));
  node=theNode;
  if (node == null)   throw new WindowsException(Strings.get("String_Node_Str","String_Node_Str"));
  if (!isDcomNode(node))   throw new WindowsException(Strings.get("String_Node_Str",getNode().getName(),getNode().getType()));
  SshConnector conn=node.getSshConnector();
  if (conn == null)   throw new WindowsException(Strings.get("String_Node_Str"));
  SshAuth auth=conn.getSshAuth();
  if (auth == null)   throw new WindowsException(Strings.get("String_Node_Str"));
  String notFinal=auth.getPassword();
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  password=DcomUtils.resolvePassword(notFinal);
  notFinal=node.getNodeHost();
  if (!ok(notFinal))   notFinal=conn.getSshHost();
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  host=resolver.resolve(notFinal);
  notFinal=auth.getUserName();
  if (!ok(notFinal))   notFinal=System.getProperty("String_Node_Str");
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  user=resolver.resolve(notFinal);
  notFinal=node.getWindowsDomain();
  if (!ok(notFinal))   notFinal=host;
  windowsDomain=resolver.resolve(notFinal);
  notFinal=node.getInstallDirUnixStyle();
  if (!ok(notFinal))   throw new WindowsException(Strings.get("String_Node_Str"));
  if (!notFinal.endsWith("String_Node_Str"))   notFinal+="String_Node_Str";
  notFinal+=SystemPropertyConstants.getComponentName();
  remoteInstallRoot=StringUtils.quotePathIfNecessary(notFinal);
  notFinal+="String_Node_Str";
  notFinal=StringUtils.quotePathIfNecessary(notFinal);
  notFinal=notFinal.replace('/','\\');
  nadminParentPath=notFinal;
  nadminPath=notFinal + "String_Node_Str";
  String notFinal2=node.getNodeDirAbsolute();
  if (notFinal2 == null) {
    notFinal2=remoteInstallRoot;
    notFinal2+="String_Node_Str";
  }
  notFinal2=notFinal2.replace('/','\\');
  if (!notFinal2.endsWith("String_Node_Str"))   notFinal2+='\\';
  remoteNodeRootDirectory=notFinal2 + node.getName();
  credentials=new WindowsCredentials(getHost(),getWindowsDomain(),getUser(),getPassword());
}