Program: 123062
Project: 123062
Buggy source:
@Override protected void doRun(){
  RepositoryNode node=getCurrentRepositoryNode();
  if (node == null) {
    return;
  }
  if (node.getObject() instanceof ISubRepositoryObject) {
    ISubRepositoryObject subObject=(ISubRepositoryObject)node.getObject();
    if (subObject != null) {
      AbstractMetadataObject metadataObject=subObject.getAbstractMetadataObject();
      if (metadataObject instanceof MetadataTable) {
        RepositoryUpdateManager.updateSchema((MetadataTable)metadataObject,node,false,isOnlySimpleShow());
      }
 else       if (metadataObject instanceof Query) {
        RepositoryUpdateManager.updateQuery((Query)metadataObject,node,false,isOnlySimpleShow());
      }
 else       if (metadataObject instanceof SAPFunctionUnit) {
        RepositoryUpdateManager.updateSAPFunction((SAPFunctionUnit)metadataObject,false,isOnlySimpleShow());
      }
    }
  }
 else   if (node.getObject() instanceof IRepositoryViewObject) {
    IRepositoryViewObject object=(IRepositoryViewObject)node.getObject();
    if (object != null) {
      Item item=object.getProperty().getItem();
      if (item != null) {
        if (item instanceof ContextItem) {
          RepositoryUpdateManager.updateContext((ContextItem)item,false,isOnlySimpleShow());
        }
 else         if (item instanceof ConnectionItem) {
          Connection connection=((ConnectionItem)item).getConnection();
          if (connection instanceof DatabaseConnection) {
            RepositoryUpdateManager.updateDBConnection((ConnectionItem)item,false,isOnlySimpleShow());
          }
 else {
            RepositoryUpdateManager.updateFileConnection((ConnectionItem)item,false,isOnlySimpleShow());
          }
        }
 else         if (item instanceof JobletProcessItem) {
          RepositoryUpdateManager.updateJoblet((JobletProcessItem)item,false,isOnlySimpleShow());
        }
      }
    }
  }
}

Fixed version (ground truth):
@Override protected void doRun(){
  RepositoryNode node=getCurrentRepositoryNode();
  if (node == null) {
    return;
  }
  if (node.getObject() instanceof ISubRepositoryObject) {
    ISubRepositoryObject subObject=(ISubRepositoryObject)node.getObject();
    if (subObject != null) {
      AbstractMetadataObject metadataObject=subObject.getAbstractMetadataObject();
      if (metadataObject instanceof MetadataTable) {
        RepositoryUpdateManager.updateSchema((MetadataTable)metadataObject,node,false,isOnlySimpleShow());
      }
 else       if (metadataObject instanceof Query) {
        RepositoryUpdateManager.updateQuery((Query)metadataObject,node,false,isOnlySimpleShow());
      }
 else       if (metadataObject instanceof SAPFunctionUnit) {
        RepositoryUpdateManager.updateSAPFunction((SAPFunctionUnit)metadataObject,false,isOnlySimpleShow());
      }
    }
  }
 else   if (node.getObject() instanceof IRepositoryViewObject) {
    IRepositoryViewObject object=node.getObject();
    if (object != null) {
      Item item=object.getProperty().getItem();
      if (item != null) {
        if (item instanceof ContextItem) {
          RepositoryUpdateManager.updateContext((ContextItem)item,false,isOnlySimpleShow());
        }
 else         if (item instanceof ConnectionItem) {
          Connection connection=((ConnectionItem)item).getConnection();
          if (connection instanceof DatabaseConnection) {
            RepositoryUpdateManager.updateDBConnection((ConnectionItem)item,false,isOnlySimpleShow());
          }
 else {
            RepositoryUpdateManager.updateFileConnection((ConnectionItem)item,false,isOnlySimpleShow());
          }
        }
 else         if (item instanceof JobletProcessItem) {
          RepositoryUpdateManager.updateJoblet((JobletProcessItem)item,false,isOnlySimpleShow());
        }
      }
    }
  }
}