[jboss-user] [jBPM] - NullPointerException when adding a ProcessEventListener

Darryl Youngblood do-not-reply at jboss.com
Fri Oct 14 08:51:01 EDT 2011


Darryl Youngblood [http://community.jboss.org/people/d.y.] created the discussion

"NullPointerException when adding a ProcessEventListener"

To view the discussion, visit: http://community.jboss.org/message/631798#631798

--------------------------------------------------------------
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
[http://community.jboss.org/message/631798#631798]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111014/c394908f/attachment.html 


More information about the jboss-user mailing list