TC ONG [https://community.jboss.org/people/devilkazuya99] created the discussion

"Re: Where is jbpm-5.3.0.Final-src.zip?"

To view the discussion, visit: https://community.jboss.org/message/738688#738688

--------------------------------------------------------------
Got the source from GitHub.  :p 
 https://github.com/droolsjbpm/jbpm/zipball/master 
https://github.com/droolsjbpm/jbpm/zipball/master

Also notice something. My NullPointerException was caused by
  <bean id="taskService" class="org.jbpm.task.service.TaskService">
             <property name="systemEventListener" ref="systemEventListener" />
  </bean>
from drools-spring integration documentation. After looking at the souce code 
of 
org.jbpm.task.serviceTaskService, the constructors are like:
TaskService(EntityManagerFactory emf, SystemEventListener systemEventListener)
and
TaskService(EntityManagerFactory emf, SystemEventListener systemEventListener, 
EscalatedDeadlineHandler escalationHandler)
So I change my spring setting to:
    <bean id="taskService" class="org.jbpm.task.service.TaskService">
        <constructor-arg name="emf" ref="htEmf" />
        <constructor-arg name="systemEventListener" ref="systemEventListener" />
</bean>
and it works (for now).
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/738688#738688]

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to