Buggy code:
public class ProcessManagerBmEJB implements SessionBean { private static final long serialVersionUID = - 3111458120777031058L ; public static final String DEFAULT_ROLE = "supervisor" ; public String createProcess ( String componentId , String userId , String fileName , byte [ ] fileContent ) throws ProcessManagerException { } public String createProcess ( String componentId , String userId , String userRole , Map < String , ? extends Serializable > metadata ) throws ProcessManagerException { } private String retrieveMatchingFieldTypeName ( Object value ) throws ProcessManagerException { } private Field findMatchingField ( XmlForm form , GenericDataRecord data , String name , String typeName ) throws ProcessManagerException { } private String getSimpleFieldValueString ( Object value , String type ) { } private void populateSimpleField ( Field field , String name , Object value , String type ) throws ProcessManagerException { } private String populateFileField ( XmlForm form , GenericDataRecord data , FileField field , String name , FileContent content , PagesContext pagesContext ) throws ProcessManagerException { } private void populateListField ( Field field , String name , Collection < ? > values , String type ) throws ProcessManagerException { } private String createProcessInstance ( ProcessModel processModel , String userId , String currentRole , DataRecord data ) throws ProcessManagerException { } private Form getCreationForm ( ProcessModel processModel ) throws ProcessManagerException { try { Action creation = processModel . getCreateAction ( ) ; return processModel . getPublicationForm ( creation . getName ( ) , "administrateur" , getLanguage ( ) ) ; } catch ( WorkflowException e ) { <START_BUG> throw new ProcessManagerException ( "SessionController" , "processManager.ERR_NO_CREATION_FORM" , e ) ; <END_BUG> } } private DataRecord getEmptyCreationRecord ( ProcessModel processModel , String currentRole ) throws ProcessManagerException { } private Task getCreationTask ( ProcessModel processModel , String userId , String currentRole ) throws ProcessManagerException { } private ProcessModel getProcessModel ( String modelId ) throws ProcessManagerException { } private String processUploadedFile ( byte [ ] fileContent , String fileName , PagesContext pagesContext ) throws ProcessManagerException { } private AttachmentDetail createAttachmentDetail ( String objectId , String componentId , String physicalName , String logicalName , String mimeType , long size , String context , String userId ) { } private String createDocument ( String objectId , AttachmentDetail attachment ) throws RemoteException { } private VersioningBm getVersioningBm ( ) { } private String getLanguage ( ) { } public void ejbCreate ( ) { } @ Override public void setSessionContext ( SessionContext sc ) throws EJBException { } @ Override public void ejbRemove ( ) throws RemoteException , EJBException { } @ Override public void ejbActivate ( ) throws RemoteException , EJBException { } @ Override public void ejbPassivate ( ) throws RemoteException , EJBException { } }

Fix:
throw new ProcessManagerException ( "SessionController" , "processManager.NO_CREATION_FORM" , e ) ;