Buggy code:
@ Slf4j @ Service public class DeploymentSetupService { @ Resource ( name = "alien-es-dao" ) private IGenericSearchDAO alienDAO ; @ Resource private CloudResourceMatcherService cloudResourceMatcherService ; @ Resource private TopologyServiceCore topologyServiceCore ; @ Resource private CloudService cloudService ; @ Resource private ApplicationVersionService applicationVersionService ; @ Resource private ApplicationEnvironmentService applicationEnvironmentService ; public DeploymentSetup get ( ApplicationVersion version , ApplicationEnvironment environment ) { } private DeploymentSetup getById ( String deploymentSetupId ) { } public DeploymentSetup getOrFail ( ApplicationVersion version , ApplicationEnvironment environment ) { } public DeploymentSetup createOrFail ( ApplicationVersion version , ApplicationEnvironment environment ) { } public DeploymentSetup getDeploymentSetup ( String applicationId , String applicationEnvironmentId ) { } public DeploymentSetupMatchInfo generateCloudResourcesMapping ( DeploymentSetup deploymentSetup , Topology topology , Cloud cloud , boolean automaticSave ) throws CloudDisabledException { } public void processGetInput ( DeploymentSetup deploymentSetup , Topology topology ) { } private void processGetInput ( Map < String , String > inputs , Map < String , AbstractPropertyValue > properties ) { <START_BUG> if ( properties != null ) { <END_BUG> for ( Map . Entry < String , AbstractPropertyValue > propEntry : properties . entrySet ( ) ) { if ( ( propEntry . getValue ( ) ) instanceof FunctionPropertyValue ) { FunctionPropertyValue function = ( ( FunctionPropertyValue ) ( propEntry . getValue ( ) ) ) ; if ( GET_INPUT . equals ( function . getFunction ( ) ) ) { propEntry . setValue ( new alien4cloud . model . components . ScalarPropertyValue ( inputs . get ( function . getParameters ( ) . get ( 0 ) ) ) ) ; } else { log . warn ( "Function<seq2seq4repair_space>detected<seq2seq4repair_space>for<seq2seq4repair_space>property<seq2seq4repair_space><{}><seq2seq4repair_space>while<seq2seq4repair_space>only<seq2seq4repair_space>get_input<seq2seq4repair_space>should<seq2seq4repair_space>be<seq2seq4repair_space>authorized." , propEntry . getKey ( ) ) ; } } } } } @ AllArgsConstructor private static class MappingGenerationResult < T > { private Map < String , T > mapping ; private boolean valid ; private boolean changed ; } private < T > DeploymentSetupService . MappingGenerationResult < T > generateDefaultMapping ( Map < String , T > mapping , Map < String , List < T > > matchResult , Topology topology ) { } public void generatePropertyDefinition ( DeploymentSetup deploymentSetup , Cloud cloud ) { } public String generateId ( String versionId , String environmentId ) { } public void deleteByEnvironmentId ( String environmentId ) { } public void deleteByVersionId ( String versionId ) { } public GetMultipleDataResult < DeploymentSetup > getByVersionId ( String versionId ) { } public String getTopologyId ( String deploymentSetupId ) { } public ApplicationEnvironment getApplicationEnvironment ( String deploymentSetupId ) { } public ApplicationVersion getApplicationVersion ( String deploymentSetupId ) { } }

Fix:
if ( ( inputs != null ) && ( properties != null ) ) {