Program: 122747
Project: 122747
Buggy source:
@SuppressWarnings("String_Node_Str") public void setActivate(final boolean activate){
  this.activate=activate;
  nodeLabel.setActivate(activate);
  nodeError.setActivate(activate);
  nodeProgressBar.setActivate(activate);
  List<Connection> connectionsOutputs=(List<Connection>)this.getOutgoingConnections();
  List<Connection> connectionsInputs=(List<Connection>)this.getIncomingConnections();
  boolean hasActivatedOutput=false;
  for (  Connection connection : connectionsOutputs) {
    if (connection.isActivate() && connection.getLineStyle().hasConnectionCategory(IConnectionCategory.FLOW)) {
      hasActivatedOutput=true;
    }
  }
  if (!hasActivatedOutput || activate) {
    setPropertyValue(EParameterName.DUMMY.getName(),false);
  }
  if (!isDummy()) {
    for (    Connection connection : connectionsOutputs) {
      if (connection.getTarget().isActivate() || connection.getSource().isDummy()) {
        connection.setPropertyValue(EParameterName.ACTIVATE.getName(),activate);
      }
    }
    for (    Connection connection : connectionsInputs) {
      if (connection.getSource().isActivate() || connection.getSource().isDummy()) {
        connection.setPropertyValue(EParameterName.ACTIVATE.getName(),activate);
      }
      if (!connection.getSource().isActivate() && !activate) {
        hasActivatedOutput=false;
        for (        Connection sourceConn : (List<Connection>)connection.getSource().getOutgoingConnections()) {
          if (sourceConn.isActivate() && sourceConn.getLineStyle().hasConnectionCategory(IConnectionCategory.FLOW)) {
            hasActivatedOutput=true;
          }
        }
        if (!hasActivatedOutput) {
          connection.getSource().setPropertyValue(EParameterName.DUMMY.getName(),false);
          connection.getSource().setPropertyValue(EParameterName.ACTIVATE.getName(),false);
        }
      }
    }
  }
  firePropertyChange(EParameterName.ACTIVATE.getName(),null,null);
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public void setActivate(final boolean activate){
  this.activate=activate;
  nodeLabel.setActivate(activate);
  nodeError.setActivate(activate);
  nodeProgressBar.setActivate(activate);
  List<Connection> connectionsOutputs=(List<Connection>)this.getOutgoingConnections();
  List<Connection> connectionsInputs=(List<Connection>)this.getIncomingConnections();
  boolean hasActivatedOutput=false;
  for (  Connection connection : connectionsOutputs) {
    if (connection.isActivate() && connection.getLineStyle().hasConnectionCategory(IConnectionCategory.FLOW)) {
      hasActivatedOutput=true;
    }
  }
  if (!hasActivatedOutput || activate) {
    setPropertyValue(EParameterName.DUMMY.getName(),false);
  }
  if (!isDummy()) {
    for (    Connection connection : connectionsOutputs) {
      if (connection.getTarget().isActivate() || connection.getTarget().isActivate() == activate || connection.getSource().isDummy()) {
        connection.setPropertyValue(EParameterName.ACTIVATE.getName(),activate);
      }
    }
    for (    Connection connection : connectionsInputs) {
      if (connection.getSource().isActivate() || connection.getSource().isDummy()) {
        connection.setPropertyValue(EParameterName.ACTIVATE.getName(),activate);
      }
      if (!connection.getSource().isActivate() && !activate) {
        hasActivatedOutput=false;
        for (        Connection sourceConn : (List<Connection>)connection.getSource().getOutgoingConnections()) {
          if (sourceConn.isActivate() && sourceConn.getLineStyle().hasConnectionCategory(IConnectionCategory.FLOW)) {
            hasActivatedOutput=true;
          }
        }
        if (!hasActivatedOutput) {
          connection.getSource().setPropertyValue(EParameterName.DUMMY.getName(),false);
          connection.getSource().setPropertyValue(EParameterName.ACTIVATE.getName(),false);
        }
      }
    }
  }
  firePropertyChange(EParameterName.ACTIVATE.getName(),null,null);
}