Re: ToolAgent: NullPointerException in ExecutionAdministration.getAssignment(...)
marc mueller <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hi all! I've found a workaround for my problem, but am still asking myself, why the getAssignment() method doesn't work properly: instead of //WfAssignment workItem = connector.getExecAmin().getAssignment( t, procInstId, assId ); //WfActivity activity = workItem.activity(); i now use String activityId = connector.getAdminMiscUtilities().getAssignmentActivityId( t, procInstId, assId ); WfActivity wfActivity = connector.getExecAdmin().getActivity( t, procInstId, activityId ); which in fact returns an activity object. greets, Marc
message.footer
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws