jBPM/Drools 6.4.0 Guided Scorecard - Serialization Exception

79 views
Skip to first unread message

ian.r...@progressa.com

unread,
Aug 14, 2016, 9:24:44 PM8/14/16
to jBPM Usage, David Lighty

Hello, I am having issues executing a basic "Guided Scorecard" in a jBPM process. I have a "Business Rule Task" that is assigned to the same ruleflow group that my guided scorecard is assigned to. I also have a form attached to the process so I can enter input data for the scorecard. Building and deploying the scorecard and business process produce no errors. 

I can start the process and enter my input data, but as soon as the jBPM process executes the business rule task, I get a transaction exception in the KIE workbench UI. Checking the server log brings up the following (this is at the very end of the exception in console.log). 

Caused by: java.io.NotSerializableException: org.drools.pmml.pmml_4_2.ModelMarker
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) [rt.jar:1.7.0_80]
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) [rt.jar:1.7.0_80]
        at java.util.ArrayList.writeObject(ArrayList.java:742) [rt.jar:1.7.0_80]
        at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source) [:1.7.0_80]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_80]
        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_80]
        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) [rt.jar:1.7.0_80]
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495) [rt.jar:1.7.0_80]
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) [rt.jar:1.7.0_80]
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) [rt.jar:1.7.0_80]
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) [rt.jar:1.7.0_80]
        at org.drools.core.marshalling.impl.SerializablePlaceholderResolverStrategy$SerializablePlaceholderStrategyContext.write(SerializablePlaceholderResolverStrategy.java:97) [drools-core-6.4.0.Final.jar:6.4.0.Final]
        at org.drools.core.marshalling.impl.PersisterHelper.writeStrategiesIndex(PersisterHelper.java:248) [drools-core-6.4.0.Final.jar:6.4.0.Final]
        at org.drools.core.marshalling.impl.PersisterHelper.writeToStreamWithHeader(PersisterHelper.java:203) [drools-core-6.4.0.Final.jar:6.4.0.Final]
        at org.drools.core.marshalling.impl.ProtobufOutputMarshaller.writeSession(ProtobufOutputMarshaller.java:125) [drools-core-6.4.0.Final.jar:6.4.0.Final]
        at org.drools.core.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:164) [drools-core-6.4.0.Final.jar:6.4.0.Final]
        at org.drools.core.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:148) [drools-core-6.4.0.Final.jar:6.4.0.Final]
        at org.drools.persistence.SessionMarshallingHelper.getSnapshot(SessionMarshallingHelper.java:78) [drools-persistence-jpa-6.4.0.Final.jar:6.4.0.Final]
        ... 78 more


I have attached the full stack trace as a text file as well as an image of my test business process. Below is my setup

- KIE server 6.4.0 
- KIE Workbench 6.4.0
- Both run on the same standalone instance of Wildfly 8.2
- Oracle JDK 1.7
- Ubuntu 14.04 on AWS

Tomorrow I am going to try downgrading to 6.3.0 and upgrading to 6.5.0 and 7.0.0 to see if there are any differences. Although I am not certain that will work. Looking at the Github history, I don't see any changes in a long time for the "ModelMarker" class (the heart of the exception).

Any and all advice is welcome. 

Cheers,

Ian

jbpm process.png
ModelMarker serialization exception.txt

Parag Patil

unread,
Jun 16, 2017, 1:12:06 AM6/16/17
to jBPM Usage, david....@progressa.com
Hi,

Any update on this issue. I am facing the same with kie drools wb version 6.5.
Also I have notice one strange thing, post execution of the process some variables gets added automatically in the Assignment section of the Business rule task.Why is that so?


Regards
Parag P

Naseem

unread,
Sep 2, 2017, 5:36:39 AM9/2/17
to jBPM Usage, david....@progressa.com
Hi All-

I am seeing the exact same issue.
Have you folks figured this one out?

thanks
naseem

Naseem

unread,
Sep 3, 2017, 9:55:14 PM9/3/17
to jBPM Usage, david....@progressa.com
I tried 6.3.0 GA. But that also didn't help.
Since I do not have subscription; I don't have access to the patches of EAP or BPM Suite. That patches might have fixed this issue.
Also the documentation says that Score Card is a Technology Preview and Red Hat does not support it.
 
Reply all
Reply to author
Forward
0 new messages