}
public void fillProcessDefinitionList(String deploymentId, int [] pageInfo, int maxNumResults, List<JaxbProcessDefinition> procDefList) {
List<String> processIdList = Collections.EMPTY_LIST;
try {
processIdList = new ArrayList<String>(runtimeDataService.getProcessIds(deploymentId, new QueryContext(pageInfo[0], pageInfo[1])));
Collections.sort(processIdList);
} catch( Exception e) {
// possibly because the deployment is being modified and not fully un/deployed.. (un/deploy*ing*)
logger.debug( "Unable to retrieve process ids for deployment '{}': {}", deploymentId, e.getMessage(), e);
}