You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "philipdnichols (via GitHub)" <gi...@apache.org> on 2025/08/21 20:21:02 UTC
[I] [DMN] [FEEL] NullPointerException while using compiled FEEL mode [incubator-kie-drools]
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: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [DMN] [FEEL] NullPointerException while using compiled FEEL mode [incubator-kie-drools]
Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #6433:
URL: https://github.com/apache/incubator-kie-drools/issues/6433#issuecomment-3358102296
Thanks @philipdnichols !
We'll be back with that ASAP!
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [DMN] [FEEL] NullPointerException while using compiled FEEL mode [incubator-kie-drools]
Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #6433:
URL: https://github.com/apache/incubator-kie-drools/issues/6433#issuecomment-3345567594
Hi @philipdnichols
So, the failing DMN is "ErrorCompiling.dmn", correct ?
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [DMN] [FEEL] NullPointerException while using compiled FEEL mode [incubator-kie-drools]
Posted by "philipdnichols (via GitHub)" <gi...@apache.org>.
philipdnichols commented on issue #6433:
URL: https://github.com/apache/incubator-kie-drools/issues/6433#issuecomment-3358036546
Hi @gitgabrio , yes, that DMN file should reproduce the problem.
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org