Unable to set fields for declared fact types from included kiebase after updating kcontainer in JBoss BRMS 6.4

Solution Verified - Updated -

Environment

  • Red Hat JBoss BRMS (BRMS) 6.4.x
  • Red Hat JBoss BPM Suite (BPMS) 6.4.x

Issue

There is a KJAR that has some declared fact types in a kiebase "kb1" which are used by a second kiebase "kb2". After updating a rule in "kb2", loading the new KJAR and updating the KieContainer with updateToVersion() method, it is not possible to set the fields declared on "kb1" kiebase. The fields are returning "null".

Resolution

It has been fixed in Red Hat JBoss BPM Suite 6.4 Update 6 and latest Updates. Please apply it and try again.

Root Cause

It was an issue in BPM Suite 6.4.5 and previous versions reported in RHBPMS-4867.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.