]
Michael Biarnes Kiefer updated DROOLS-1675:
-------------------------------------------
Fix Version/s: 8.0.0.Beta1
(was: 7.3.0.Final)
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: Edson Tirelli
Priority: Minor
Fix For: 8.0.0.Beta1
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.