Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1070758

Summary: EWS: DataFieldHolder not serializable
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Form ModelerAssignee: Pere Fernàndez <pere.fernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Kralik <pkralik>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: kverlaen, rrajasek
Target Milestone: ER1   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:51:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
catalina log - search fro NotSerializableException none

Description Jan Hrcek 2014-02-27 14:06:51 UTC
Created attachment 868555 [details]
catalina log - search fro NotSerializableException

Description of problem:
I have business-central deployed on EWS. When completing task in business-central task list, the form to complete the task is not displayed in the task details panel and the folowing exception appears in the catalina.out:

SEVERE: Exception loading sessions from persistent storage
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jbpm.formModeler.api.model.DataFieldHolder


Version-Release number of selected component (if applicable):
BPMS 6.0.1 ER1

How reproducible:


Steps to Reproduce:
1. In business central go to task list
2. Click new task, fill in some details (name) and create task
2. Click complete (tick icon) for the newly created task

Actual results:
The completion button/form is missing in task details panel
There is exception in catalina.out (attached)

Expected results:
It should be possible to complete the task.

Comment 1 Jan Hrcek 2014-02-28 06:42:49 UTC
Setting as test blocker. Since it's impossible to complete task in task list.

Comment 2 Jan Hrcek 2014-02-28 06:56:59 UTC
I'm sorry, setting this as test blocker was a false alarm. The fact, that no forms are displayed when completing task / starting process was caused by the fact, that I didn't have jbpm-playground repo created (as described in Bug 1066584).

Nevertheless, the exception in catalina log about DataFieldHolder is not serializable is still present.

Comment 3 Pere Fernàndez 2014-03-06 12:13:09 UTC
Made DataFieldHolder serializable to avoid errors serializing sessions on tomcat:

Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/dd096224023ac918758034f3df8020d60622b59c

Commit (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/d1ac4abddf3e8e6c39b8ce0fb8d5de4853b9800f

Comment 4 Pavel Kralik 2014-06-19 14:02:50 UTC
Verified BPMS-6.0.2-CR1 and EWS-2.0.1-RHEL6