ToolAgent: NullPointerException in ExecutionAdministration.getAssignment(...)
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hi all!
I'm experiencing a problem within ToolAgent's invokeApplication() method when I try to call:
getExecutionAdministration().getAssignment( SharkTransaction t, String processInstanceId, String assignmentId )
with Parameters which are passed in the invokeApplication() method.
I have extended the AbstractToolAgent class and overwritten the invokeApplication() method which goes something like this:
public void invokeApplication( ... )
{
super.invokeApplication( t, handle, applicationName, procInstId, assId, parameters, appMode );
status = APP_STATUS_RUNNING;
if( appName==null || appName.trim().length() == 0 )
readParamsFromExtAttributes( (String) parameters[ 0 ].the_value );
WfAssignment workItem = connector.getExecAmin().getAssignment( t, procInstId, assId ); <<<<<<< This one throws NullPointerException!
...
status = APP_STATUS_FINISHED;
}
The Connector class wraps the Shark interface and ensures a proper connection to the WFMS. I'm using own external WfRequester class which implements the WfRequester interface for instantiating a process with ProcessMgrObj.create_process().
I'm using Shark pojo libs within a WebApplication deployed on JBoss, _not_ CORBA. With Shark 1.0, everything worked fine. What am I doing wrong now?
Thanx in advance,
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