3 Replies Latest reply on Oct 14, 2011 9:22 AM by Mauricio Salatino

    NullPointerException when adding a ProcessEventListener

    Darryl Youngblood Newbie

      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