Compilation Failure in JBPM Workbench modeler

357 views
Skip to first unread message

onkar hingne

unread,
Jul 7, 2016, 2:33:20 AM7/7/16
to jBPM Usage
Hello,
I am using jbpm 6.4 workbench modeler to design my process. I have data base XOR decision point and on each node of the XOR I have a expression that is something like 

return evaluation.getAcknnowledge() == true/false; 
Where evaluation is a data object that i have mapped as a process variable. It has a field acknnowledge which is boolean (primitive). PFA a snapshot of the process i have defined, 

When i compile this process I get an error that says 
Process Compilation error Type mismatch: cannot convert from boolean to Object Type mismatch: cannot convert from boolean to Object

When i change the boolean to Boolean it gives error saying incompatible types. I did some googling and found some posts which are vaguely related which indicate wrong ecj (compiler) version. But I see that the ecj in my wildfly 8.2 instace is 4.3.1 which is not old.
PFA a snapshot of the process i have defined,

Does any one have any idea about this issue?

Regards
Onkar

process.png

Maciej Swiderski

unread,
Jul 7, 2016, 2:45:17 AM7/7/16
to onkar hingne, jBPM Usage
yes, this is ecj incompatibility issue, so either go down to java 7 or exclude the ecj from wildfly so the one shipped with kie wb will be used. Search the forum as I recently provided steps to exclude that ecj from being used by kie wb.

Maciej

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/b5364302-ab5d-4d43-b320-ca9daecc8d58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

onkar hingne

unread,
Jul 7, 2016, 3:33:46 AM7/7/16
to jBPM Usage, onkar....@gmail.com
Thanks. I will check it out. 

If i set any entry action for any node as a java snippet like system out print statement I dont get the prints statements in the server log file. there are no other logs generated in the wildfly instance. Can we do something like this to log some entry / exit in to various nodes of the workflow.

Regards
Onkar
Reply all
Reply to author
Forward
0 new messages