Program: 115835
Project: 115835
Buggy source:
private static SubscribableInfo convertStubSubscribableInfoContextToSubscribableInfo(SubscribableInfoContext subscribableInfoContext){
  SubscribableInfo subscribableInfo=new SubscribableInfo();
  subscribableInfo.setAlias(subscribableInfoContext.getAlias());
  subscribableInfo.setAutoscalingPolicy(subscribableInfoContext.getAutoscalingPolicy());
  if (!CommonUtil.isEmptyArray(subscribableInfoContext.getDependencyAliases())) {
    subscribableInfo.setDependencyAliases(subscribableInfoContext.getDependencyAliases());
  }
  subscribableInfo.setDeploymentPolicy(subscribableInfoContext.getDeploymentPolicy());
  subscribableInfo.setMinMembers(subscribableInfoContext.getMinMembers());
  subscribableInfo.setMaxMembers(subscribableInfoContext.getMaxMembers());
  subscribableInfo.setProperty(convertStubPropertiesToPropertyBeanList(subscribableInfoContext.getProperties()));
  if (subscribableInfoContext.getArtifactRepositoryContext() != null) {
    ArtifactRepositoryContext artifactRepositoryContext=subscribableInfoContext.getArtifactRepositoryContext();
    ArtifactRepositoryBean artifactRepository=new ArtifactRepositoryBean();
    artifactRepository.setAlias(artifactRepositoryContext.getAlias());
    artifactRepository.setRepoUrl(artifactRepositoryContext.getRepoUrl());
    artifactRepository.setPrivateRepo(artifactRepositoryContext.getPrivateRepo());
    artifactRepository.setRepoUsername(artifactRepositoryContext.getRepoUsername());
    artifactRepository.setRepoPassword(artifactRepositoryContext.getRepoPassword());
    subscribableInfo.setArtifactRepository(artifactRepository);
  }
  if (subscribableInfoContext.getPersistenceContext() != null) {
    PersistenceContext persistenceContext=subscribableInfoContext.getPersistenceContext();
    PersistenceBean persistenceBean=new PersistenceBean();
    persistenceBean.setRequired(persistenceContext.getPersistenceRequired());
    persistenceBean.setVolume(convertStubVolumeToVolume(persistenceContext.getVolumes()));
    subscribableInfo.setPersistenceBean(persistenceBean);
  }
  return subscribableInfo;
}

Fixed version (ground truth):
private static SubscribableInfo convertStubSubscribableInfoContextToSubscribableInfo(SubscribableInfoContext subscribableInfoContext){
  SubscribableInfo subscribableInfo=new SubscribableInfo();
  subscribableInfo.setAlias(subscribableInfoContext.getAlias());
  subscribableInfo.setAutoscalingPolicy(subscribableInfoContext.getAutoscalingPolicy());
  if (!CommonUtil.isEmptyArray(subscribableInfoContext.getDependencyAliases())) {
    subscribableInfo.setDependencyAliases(subscribableInfoContext.getDependencyAliases());
  }
  subscribableInfo.setDeploymentPolicy(subscribableInfoContext.getDeploymentPolicy());
  subscribableInfo.setMinMembers(subscribableInfoContext.getMinMembers());
  subscribableInfo.setMaxMembers(subscribableInfoContext.getMaxMembers());
  subscribableInfo.setProperty(convertStubPropertiesToPropertyBeanList(subscribableInfoContext.getProperties()));
  if (subscribableInfoContext.getArtifactRepositoryContext() != null) {
    ArtifactRepositoryContext artifactRepositoryContext=subscribableInfoContext.getArtifactRepositoryContext();
    ArtifactRepositoryBean artifactRepository=new ArtifactRepositoryBean();
    artifactRepository.setAlias(artifactRepositoryContext.getAlias());
    artifactRepository.setRepoUrl(artifactRepositoryContext.getRepoUrl());
    artifactRepository.setPrivateRepo(artifactRepositoryContext.getPrivateRepo());
    artifactRepository.setRepoUsername(artifactRepositoryContext.getRepoUsername());
    artifactRepository.setRepoPassword(artifactRepositoryContext.getRepoPassword());
    subscribableInfo.setArtifactRepository(artifactRepository);
  }
  if (subscribableInfoContext.getPersistenceContext() != null) {
    PersistenceContext persistenceContext=subscribableInfoContext.getPersistenceContext();
    PersistenceBean persistenceBean=new PersistenceBean();
    persistenceBean.setRequired(persistenceContext.getPersistenceRequired());
    persistenceBean.setVolume(convertStubVolumeToVolume(persistenceContext.getVolumes()));
    subscribableInfo.setPersistence(persistenceBean);
  }
  return subscribableInfo;
}