philipdnichols opened a new issue, #6433:
URL: https://github.com/apache/incubator-kie-drools/issues/6433

   Hello! I've been tinkering around with adding the compiled FEEL mode using 
`DoCompileFEELProfile`. However, on certain DMN files, the compilation fails, 
and throws `NullPointerException`s. This profile seems to work on other DMN 
files, and I can't determine what FEEL expression specifically is causing 
issues.
   
   This issue is reproducible using Drools 10.1.0 using this test repo I've 
created: https://github.com/philipdnichols/compiled-feel-testing
   The error can be seen by running the app with gradle: `./gradlew clean run`
   
   In the default configuration you can see the NullPointerExceptions in the 
log, followed by the failing evaluation. If you comment out the 
`DoCompileFEELProfile` line and re-run, the runtime is built and is evaluated 
without issue.
   
   If you change the input file to "Sample.dmn", the compilation appears to be 
fine, no NPEs are logged at all.
   
   In addition, I've been wondering - if this compilation issue is fixed, can 
the pre-compiled FEEL expressions be used when building a KJAR via the KIE 
maven plugin via a setting, or something like that? Or is it possible to 
trigger this programmatically in some way? I've noticed by default the 
generated KJAR just includes the DMN files without any optimizations.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to