[jboss-jira] [JBoss JIRA] (DROOLS-4089) EvaluatedExpression not well resolved with JIT during race
vincent palau (Jira)
issues at jboss.org
Wed May 29 07:52:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vincent palau updated DROOLS-4089:
----------------------------------
Description:
we recently moved from Drools 7.9.0 to 7.20.
Some errors started appearing in ours tests when calling static methods in drools.
This started happening when all tests were run simultaneously.
It seems the mvel JIT compiler kicks in and it incorrectly evaluates the property name:
A simple call to ValidationUtils.isNullOrEmpty(interestedPartyNumber) ends up with this kind of error:
"java.lang.RuntimeException: Unknown property 'nullOrEmpty' on class tech.stage.utils.cwr.model.PublisherRecord"
{noformat}
*no* further _formatting_ is done here
{noformat}
was:
we recently moved from Drools 7.9.0 to 7.20.
Some errors started appearing in ours tests when calling static methods in drools.
This started happening when all tests were run simultaneously.
It seems the mvel JIT compiler kicks in and it incorrectly evaluates the property name:
A simple call to ValidationUtils.isNullOrEmpty(interestedPartyNumber) ends up with this kind of error:
??java.lang.RuntimeException: Unknown property 'nullOrEmpty' on class tech.stage.utils.cwr.model.PublisherRecord??
> EvaluatedExpression not well resolved with JIT during race
> ------------------------------------------------------------
>
> Key: DROOLS-4089
> URL: https://issues.jboss.org/browse/DROOLS-4089
> Project: Drools
> Issue Type: Bug
> Reporter: vincent palau
> Assignee: Mario Fusco
> Priority: Major
>
> we recently moved from Drools 7.9.0 to 7.20.
> Some errors started appearing in ours tests when calling static methods in drools.
> This started happening when all tests were run simultaneously.
> It seems the mvel JIT compiler kicks in and it incorrectly evaluates the property name:
> A simple call to ValidationUtils.isNullOrEmpty(interestedPartyNumber) ends up with this kind of error:
> "java.lang.RuntimeException: Unknown property 'nullOrEmpty' on class tech.stage.utils.cwr.model.PublisherRecord"
> {noformat}
> *no* further _formatting_ is done here
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list