Declared value has type org.activiti.engine.impl.el.FixedValue, while expecting org.activiti.engine.delegate.Expression
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2016 01:34 AM
My code works fine on community version. But on trial version of enterprise I am getting following error .
Incompatible type set on field declaration 'jarfilepath' for class DataflowRunner. Declared value has type org.activiti.engine.impl.el.FixedValue, while expecting org.activiti.engine.delegate.Expression. I placed my jar inside tomcat/lib.
Thanks
Ashutosh
Incompatible type set on field declaration 'jarfilepath' for class DataflowRunner. Declared value has type org.activiti.engine.impl.el.FixedValue, while expecting org.activiti.engine.delegate.Expression. I placed my jar inside tomcat/lib.
Thanks
Ashutosh
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2016 05:13 AM
I think your JavaDelegate is using an Expression with the wrong class (there are two Expression classes in Activiti), you should switch to the other.
In Activiti v6, we've removed this duplication, there is only one left.
In Activiti v6, we've removed this duplication, there is only one left.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2016 09:19 AM
I am using these classes
import org.activiti.engine.delegate.Expression;
import org.activiti.engine.delegate.JavaDelegate;
Is this wrong one? However with community version my code works fine. This issue comes with trial license of enterprise .
Thanks
Ashutosh
import org.activiti.engine.delegate.Expression;
import org.activiti.engine.delegate.JavaDelegate;
Is this wrong one? However with community version my code works fine. This issue comes with trial license of enterprise .
Thanks
Ashutosh
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2016 09:44 AM
I tested with org.activiti.engine.impl.el.Expression as well. Still same error.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2016 01:58 AM
And if I use
activiti:field name="namexyz" expression="${myBean.getName()}" then it throws error
Incompatible type set on field declaration 'namexyz' for class DataflowRunner. Declared value has type org.activiti.engine.impl.el.JuelExpression, while expecting org.activiti.engine.impl.el.Expression
activiti:field name="namexyz" expression="${myBean.getName()}" then it throws error
Incompatible type set on field declaration 'namexyz' for class DataflowRunner. Declared value has type org.activiti.engine.impl.el.JuelExpression, while expecting org.activiti.engine.impl.el.Expression
