[jboss-jira] [JBoss JIRA] (DROOLS-1116) After adding new Rule by different drl filename getting error while calling fireRules

Mario Fusco (JIRA) issues at jboss.org
Fri Apr 8 03:58:00 EDT 2016


    [ https://issues.jboss.org/browse/DROOLS-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13188809#comment-13188809 ] 

Mario Fusco commented on DROOLS-1116:
-------------------------------------

Sorry, but it's impossible to reproduce this problem using your description. Where are the rules to be used? And the objects to be inserted into the session? Please attach a complete test case reproducing this problem or even better send a pull request with it.

> After adding new Rule by different drl filename getting error while calling fireRules
> -------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1116
>                 URL: https://issues.jboss.org/browse/DROOLS-1116
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 6.4.0.CR2
>            Reporter: Vivek Singh
>            Assignee: Mario Fusco
>
> Issue is similar to https://issues.jboss.org/browse/DROOLS-978
> But its showing its fixed in 6.4.0.Beta1 but i am still lfacing in 6.4.0.CR2
> While Adding the new or Updated Rules by createKieJar.
> Even renaming the Drool file.
> After that while calling the fireRules i am getting the below error:-
> Exception in thread "main" java.lang.NullPointerException
> at org.drools.core.reteoo.NodeTypeEnums.isBetaNode(NodeTypeEnums.java:88)
> at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:254)
> at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:166)
> at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:123)
> at org.drools.core.phreak.RuleExecutor.evaluateNetwork(RuleExecutor.java:65)
> at org.drools.core.common.DefaultAgenda.evaluateEagerList(DefaultAgenda.java:1004)
> at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:961)
> at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1292)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1294)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1281)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1260



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list