05-04-2012 04:31 PM
public DataHandler getForm() {
DataHandler dh = null;
FormService formService = processEngine.getFormService();
String form = null;
if ((form = (String)formService.getRenderedTaskForm(task.getId())) != null) {
}
2012-05-02 22:34:44,626 SEVERE [org.activiti.engine.impl.interceptor.CommandContext] (http-localhost%2F127.0.0.1-8080-8) Error while closing command context: java.lang.NullPointerException
at org.activiti.engine.impl.cmd.GetRenderedTaskFormCmd.execute(GetRenderedTaskFormCmd.java:51) [:5.9]
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [:5.9]
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42) [:5.9]
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33) [:5.9]
at org.activiti.engine.impl.FormServiceImpl.getRenderedTaskForm(FormServiceImpl.java:44) [:5.9]
at com.ajita.ical.activiti.actTask.getForm(actTask.java:187) [:]
}
TaskFormHandler taskFormHandler = task.getTaskDefinition().getTaskFormHandler();
if (taskFormHandler == null) {
return null;
}
if (task.getTaskDefinitionKey() !=null) {
05-07-2012 03:53 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.