Program: 188334
Project: 188334
Buggy source:
private void loadMap(){
  if (pluginParameters.isEmpty()) {
    deactivatedPlugins=new ArrayList<>();
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_SIP_TO_AIP_CLASS,new PluginParameter(RodaConstants.PLUGIN_PARAMS_SIP_TO_AIP_CLASS,"String_Node_Str",PluginParameterType.PLUGIN_SIP_TO_AIP,"String_Node_Str",true,false,"String_Node_Str"));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_PARENT_ID,new PluginParameter(RodaConstants.PLUGIN_PARAMS_PARENT_ID,"String_Node_Str",PluginParameterType.AIP_ID,"String_Node_Str",false,false,"String_Node_Str"));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_FORCE_PARENT_ID,new PluginParameter(RodaConstants.PLUGIN_PARAMS_FORCE_PARENT_ID,"String_Node_Str",PluginParameterType.BOOLEAN,"String_Node_Str",false,false,"String_Node_Str"));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_VIRUS_CHECK,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_VIRUS_CHECK,AntivirusPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,AntivirusPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_DESCRIPTIVE_METADATA_VALIDATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_DESCRIPTIVE_METADATA_VALIDATION,DescriptiveMetadataValidationPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,true,DescriptiveMetadataValidationPlugin.getStaticDescription()));
    PluginManager pluginManager=RodaCoreFactory.getPluginManager();
    Plugin<?> plugin=pluginManager.getPlugin(RodaConstants.PLUGIN_CLASS_VERAPDF);
    if (plugin != null) {
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_VERAPDF_CHECK,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_VERAPDF_CHECK,plugin.getName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,plugin.getDescription()));
    }
 else {
      deactivatedPlugins.add(RodaConstants.PLUGIN_CLASS_VERAPDF);
    }
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_CREATE_PREMIS_SKELETON,new PluginParameter(RodaConstants.PLUGIN_PARAMS_CREATE_PREMIS_SKELETON,PremisSkeletonPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,true,PremisSkeletonPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_PRODUCER_AUTHORIZATION_CHECK,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_PRODUCER_AUTHORIZATION_CHECK,VerifyProducerAuthorizationPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,true,VerifyProducerAuthorizationPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_FILE_FORMAT_IDENTIFICATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_FILE_FORMAT_IDENTIFICATION,SiegfriedPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,SiegfriedPlugin.getStaticDescription()));
    plugin=pluginManager.getPlugin(RodaConstants.PLUGIN_CLASS_TIKA_FULLTEXT);
    if (plugin != null) {
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_FEATURE_EXTRACTION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_FEATURE_EXTRACTION,"String_Node_Str",PluginParameterType.BOOLEAN,"String_Node_Str",true,false,"String_Node_Str"));
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_FULL_TEXT_EXTRACTION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_FULL_TEXT_EXTRACTION,"String_Node_Str",PluginParameterType.BOOLEAN,"String_Node_Str",true,false,"String_Node_Str"));
    }
 else {
      deactivatedPlugins.add(RodaConstants.PLUGIN_CLASS_TIKA_FULLTEXT);
    }
    plugin=pluginManager.getPlugin(RodaConstants.PLUGIN_CLASS_DIGITAL_SIGNATURE);
    if (plugin != null) {
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_DIGITAL_SIGNATURE_VALIDATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_DIGITAL_SIGNATURE_VALIDATION,plugin.getName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,plugin.getDescription()));
    }
 else {
      deactivatedPlugins.add(RodaConstants.PLUGIN_CLASS_DIGITAL_SIGNATURE);
    }
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_AUTO_ACCEPT,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_AUTO_ACCEPT,AutoAcceptSIPPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,AutoAcceptSIPPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_REPLICATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_REPLICATION,ReplicationPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,ReplicationPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_EMAIL_NOTIFICATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_EMAIL_NOTIFICATION,"String_Node_Str",PluginParameterType.STRING,"String_Node_Str",false,false,"String_Node_Str"));
  }
}

Fixed version (ground truth):
private void loadMap(){
  if (pluginParameters.isEmpty()) {
    deactivatedPlugins=new ArrayList<>();
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_SIP_TO_AIP_CLASS,new PluginParameter(RodaConstants.PLUGIN_PARAMS_SIP_TO_AIP_CLASS,"String_Node_Str",PluginParameterType.PLUGIN_SIP_TO_AIP,"String_Node_Str",true,false,"String_Node_Str"));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_PARENT_ID,new PluginParameter(RodaConstants.PLUGIN_PARAMS_PARENT_ID,"String_Node_Str",PluginParameterType.AIP_ID,"String_Node_Str",false,false,"String_Node_Str"));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_FORCE_PARENT_ID,new PluginParameter(RodaConstants.PLUGIN_PARAMS_FORCE_PARENT_ID,"String_Node_Str",PluginParameterType.BOOLEAN,"String_Node_Str",false,false,"String_Node_Str"));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_VIRUS_CHECK,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_VIRUS_CHECK,AntivirusPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,AntivirusPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_DESCRIPTIVE_METADATA_VALIDATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_DESCRIPTIVE_METADATA_VALIDATION,DescriptiveMetadataValidationPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,true,DescriptiveMetadataValidationPlugin.getStaticDescription()));
    PluginManager pluginManager=RodaCoreFactory.getPluginManager();
    Plugin<?> plugin=pluginManager.getPlugin(RodaConstants.PLUGIN_CLASS_VERAPDF);
    if (plugin != null) {
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_VERAPDF_CHECK,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_VERAPDF_CHECK,plugin.getName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,plugin.getDescription()));
    }
 else {
      deactivatedPlugins.add(RodaConstants.PLUGIN_CLASS_VERAPDF);
    }
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_CREATE_PREMIS_SKELETON,new PluginParameter(RodaConstants.PLUGIN_PARAMS_CREATE_PREMIS_SKELETON,PremisSkeletonPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,true,PremisSkeletonPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_PRODUCER_AUTHORIZATION_CHECK,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_PRODUCER_AUTHORIZATION_CHECK,VerifyUserAuthorizationPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,true,VerifyUserAuthorizationPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_FILE_FORMAT_IDENTIFICATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_FILE_FORMAT_IDENTIFICATION,SiegfriedPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,SiegfriedPlugin.getStaticDescription()));
    plugin=pluginManager.getPlugin(RodaConstants.PLUGIN_CLASS_TIKA_FULLTEXT);
    if (plugin != null) {
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_FEATURE_EXTRACTION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_FEATURE_EXTRACTION,"String_Node_Str",PluginParameterType.BOOLEAN,"String_Node_Str",true,false,"String_Node_Str"));
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_FULL_TEXT_EXTRACTION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_FULL_TEXT_EXTRACTION,"String_Node_Str",PluginParameterType.BOOLEAN,"String_Node_Str",true,false,"String_Node_Str"));
    }
 else {
      deactivatedPlugins.add(RodaConstants.PLUGIN_CLASS_TIKA_FULLTEXT);
    }
    plugin=pluginManager.getPlugin(RodaConstants.PLUGIN_CLASS_DIGITAL_SIGNATURE);
    if (plugin != null) {
      pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_DIGITAL_SIGNATURE_VALIDATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_DIGITAL_SIGNATURE_VALIDATION,plugin.getName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,plugin.getDescription()));
    }
 else {
      deactivatedPlugins.add(RodaConstants.PLUGIN_CLASS_DIGITAL_SIGNATURE);
    }
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_AUTO_ACCEPT,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_AUTO_ACCEPT,AutoAcceptSIPPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,AutoAcceptSIPPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_DO_REPLICATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_DO_REPLICATION,ReplicationPlugin.getStaticName(),PluginParameterType.BOOLEAN,"String_Node_Str",true,false,ReplicationPlugin.getStaticDescription()));
    pluginParameters.put(RodaConstants.PLUGIN_PARAMS_EMAIL_NOTIFICATION,new PluginParameter(RodaConstants.PLUGIN_PARAMS_EMAIL_NOTIFICATION,"String_Node_Str",PluginParameterType.STRING,"String_Node_Str",false,false,"String_Node_Str"));
  }
}