Bug 958402 - WorkItemHandler gets null from StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession() in its constructor
Summary: WorkItemHandler gets null from StatefulKnowledgeSessionUtil.getStatefulKnowle...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 5.x.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: DR5
: 6.0.0
Assignee: Kris Verlaenen
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-01 10:35 UTC by Toshiya Kobayashi
Modified: 2018-11-28 19:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 858607
Environment:
Last Closed: 2014-08-06 20:06:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPM-3792 0 Minor Resolved WorkItemHandler gets null from StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession() in its constructor 2014-04-10 14:35:31 UTC

Description Toshiya Kobayashi 2013-05-01 10:35:31 UTC
+++ This bug was initially created as a clone of Bug #858607 +++

Description of problem:

Platform BZ for https://issues.jboss.org/browse/JBPM-3792

Steps to Reproduce:
See details in JBPM-3792
  
Actual results:

WorkItemHandler gets null from StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession()

Expected results:

WorkItemHandler gets ksession from StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession()

Comment 1 Kris Verlaenen 2013-05-31 22:04:24 UTC
This issue has been resolved in the current version of jBPM6 by allowing users to inject the ksession as a constructor argument in the work item handler configuration file.

Comment 2 Ivo Bek 2013-10-31 13:14:47 UTC
Verified in BPMS 6.0.0.ER4 ... Business central use WebServiceWorkItem: "WebService": new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler(ksession)  so I verified that the ksession is not null there

Comment 3 Lukáš Petrovický 2014-02-07 16:14:51 UTC
This BZ has been part of the 6.0.0 stream.


Note You need to log in before you can comment on or make changes to this bug.