[
https://issues.jboss.org/browse/DROOLS-1675?page=com.atlassian.jira.plugi...
]
Kris Verlaenen updated DROOLS-1675:
-----------------------------------
Sprint: 2017 Week 34-35, 2017 Week 36-37, 2017 Week 38-39, 2017 Week 40-41 (was: 2017
Week 34-35, 2017 Week 36-37, 2017 Week 38-39)
Wrong FEEL external function definition throws NPE
--------------------------------------------------
Key: DROOLS-1675
URL:
https://issues.jboss.org/browse/DROOLS-1675
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.1.0.Final
Reporter: Tibor Zimányi
Assignee: Fedor Gavrilov
Priority: Minor
Fix For: 7.4.0.Final
When compiling this [1] FEEL expression with incorrect external function definition, the
compilation ends with NPE with following stacktrace [2].
[1]
{code:java}
{ maximum : function( v1, v2 ) external { missingDefiniton }, the max : maximum( 10, 20
) }.the max
{code}
[2]
https://gist.github.com/baldimir/3ebfc7c2e60ac61941c9866151ae2bbf
I will add the reproducer in my next PR with new FEEL coverage.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)