[jboss-user] [JBoss jBPM] - createTaskInstance() nullpointer exception

AJanz do-not-reply at jboss.com
Sat Oct 4 07:33:14 EDT 2008


i try to dynamically create a taskinstance

but calling
TaskInstance ti = pi.getTaskMgmtInstance().createTaskInstance()

gives the following null pointer exception

java.lang.NullPointerException
	at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:113)
	at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:83)
	at com.workflow.manager.AddTaskCommand.execute(AddTaskCommand.java:55)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180389#4180389

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180389



More information about the jboss-user mailing list