Program: 115836
Project: 115836
Buggy source:
private static SubscribableInfoContext convertSubscribableInfo(SubscribableInfo subscribableInfo){
  SubscribableInfoContext infoContext=new SubscribableInfoContext();
  infoContext.setAlias(subscribableInfo.getAlias());
  infoContext.setAutoscalingPolicy(subscribableInfo.getAutoscalingPolicy());
  infoContext.setDependencyAliases(subscribableInfo.getDependencyAliases());
  infoContext.setDeploymentPolicy(subscribableInfo.getDeploymentPolicy());
  infoContext.setMaxMembers(subscribableInfo.getMaxMembers());
  infoContext.setMinMembers(subscribableInfo.getMinMembers());
  if (subscribableInfo.getArtifactRepository() != null) {
    ArtifactRepositoryBean artifactRepository=subscribableInfo.getArtifactRepository();
    ArtifactRepositoryContext artifactRepositoryContext=new ArtifactRepositoryContext();
    artifactRepositoryContext.setAlias(infoContext.getAlias());
    artifactRepositoryContext.setPrivateRepo(artifactRepository.isPrivateRepo());
    artifactRepositoryContext.setRepoUrl(artifactRepository.getRepoUrl());
    artifactRepositoryContext.setRepoUsername(artifactRepository.getRepoUsername());
    artifactRepositoryContext.setRepoPassword(artifactRepository.getRepoPassword());
    infoContext.setArtifactRepositoryContext(artifactRepositoryContext);
  }
  if (subscribableInfo.getPersistenceBean() != null) {
    PersistenceBean persistenceBean=subscribableInfo.getPersistenceBean();
    PersistenceContext persistenceContext=new PersistenceContext();
    persistenceContext.setPersistenceRequired(persistenceBean.isRequired());
    persistenceContext.setVolumes(convertVolumeToStubVolume(persistenceBean.getVolume()));
  }
  infoContext.setProperties(convertPropertyBeansToStubProperties(subscribableInfo.getProperty()));
  return infoContext;
}

Fixed version (ground truth):
private static SubscribableInfoContext convertSubscribableInfo(SubscribableInfo subscribableInfo){
  SubscribableInfoContext infoContext=new SubscribableInfoContext();
  infoContext.setAlias(subscribableInfo.getAlias());
  infoContext.setAutoscalingPolicy(subscribableInfo.getAutoscalingPolicy());
  infoContext.setDependencyAliases(subscribableInfo.getDependencyAliases());
  infoContext.setDeploymentPolicy(subscribableInfo.getDeploymentPolicy());
  infoContext.setMaxMembers(subscribableInfo.getMaxMembers());
  infoContext.setMinMembers(subscribableInfo.getMinMembers());
  if (subscribableInfo.getArtifactRepository() != null) {
    ArtifactRepositoryBean artifactRepository=subscribableInfo.getArtifactRepository();
    ArtifactRepositoryContext artifactRepositoryContext=new ArtifactRepositoryContext();
    artifactRepositoryContext.setAlias(infoContext.getAlias());
    artifactRepositoryContext.setPrivateRepo(artifactRepository.isPrivateRepo());
    artifactRepositoryContext.setRepoUrl(artifactRepository.getRepoUrl());
    artifactRepositoryContext.setRepoUsername(artifactRepository.getRepoUsername());
    artifactRepositoryContext.setRepoPassword(artifactRepository.getRepoPassword());
    infoContext.setArtifactRepositoryContext(artifactRepositoryContext);
  }
  if (subscribableInfo.getPersistence() != null) {
    PersistenceBean persistenceBean=subscribableInfo.getPersistence();
    PersistenceContext persistenceContext=new PersistenceContext();
    persistenceContext.setPersistenceRequired(persistenceBean.isRequired());
    persistenceContext.setVolumes(convertVolumeToStubVolume(persistenceBean.getVolume()));
  }
  infoContext.setProperties(convertPropertyBeansToStubProperties(subscribableInfo.getProperty()));
  return infoContext;
}