[jboss-jira] [JBoss JIRA] (DROOLS-4143) Strange error when generateModel=NO

Mario Fusco (Jira) issues at jboss.org
Tue Jun 18 12:00:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-4143.
---------------------------------
    Resolution: Won't Fix


The problem is related with Spark's code generation and independent from Drools. However there's an easy way to fix/workaround this problem that is wrapping the body of the rule's consequence in a static Java method and calling the method from the consequence. Note moreover that this usage pattern that triggers a spark job from a drools consequence is highly discouraged because synchronously stops the rule evaluation until the job isn't finished.

> Strange error when generateModel=NO
> -----------------------------------
>
>                 Key: DROOLS-4143
>                 URL: https://issues.jboss.org/browse/DROOLS-4143
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>            Reporter: Daniele Zonca
>            Assignee: Mario Fusco
>            Priority: Major
>
> Reproducer
> https://github.com/danielezonca/tempproject/
> Change in the pom.xml generateModel to NO to have the error



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list