JBoss Community

Re: Event Listener Problem

created by Michael Wohlfart in jBPM - View the full discussion

devendra katiyar wrote:

[...]


but when I am testing using Junit
ProcessInstance processInstance = executionService.startProcessInstanceByKey("EventListener");

In above line getting Nullpointer Exception?

 

can any one help regards this , or any other reference to implement Event Listener in jbpm4

 

as far as I can tell from your writing most likely executionService is null, so how do you initialize executionService?

Reply to this message by going to Community

Start a new discussion in jBPM at Community