JBoss Community

NullPointerException when adding a ProcessEventListener

created by Darryl Youngblood in jBPM - View the full discussion

Hey there,

 

I wanted to make a simple example of a process. It works all fine so far but when I try to add the EventListener to the session I get a NullPointerException and I just cant figure out why that is. It seems like the iter.next() object is null instead of an instance of ProcessEventListener (line 143 in ProcessEventSupport.class). But what more to do than adding the ProcessEventListener to the session via ksession.addEventListener(processEventListener) ?

 

Thank you in advance.

 

PS: Project attached

Reply to this message by going to Community

Start a new discussion in jBPM at Community