[jboss-jira] [JBoss JIRA] (DROOLS-195) Rule Engine Crashes when used Slide Window constraints and kAgent is configured as incremental processing

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Sep 13 12:03:03 EDT 2013


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

RH Bugzilla Integration commented on DROOLS-195:
------------------------------------------------

Marek Winkler <mwinkler at redhat.com> made a comment on [bug 986465|https://bugzilla.redhat.com/show_bug.cgi?id=986465]

I am able to reproduce that the engine gets stuck during the test on 5.3.1.BRMS-P04. Although I can see no exception (neither in any log, nor in the output), the main test thread execution hangs (the console keeps printing messages about updating the drl file in another thread).

To reproduce, please run the reproducer in the attached maven project ('mvn clean test').

It seems one of the engine threads gets stuck in the following stacktrace:

Name: Thread-0
State: RUNNABLE
Total blocked: 0  Total waited: 2

Stack trace: 
org.drools.reteoo.BetaNode.doRemove(BetaNode.java:381)
org.drools.common.BaseNode.remove(BaseNode.java:105)
org.drools.reteoo.RuleTerminalNode.doRemove(RuleTerminalNode.java:367)
org.drools.common.BaseNode.remove(BaseNode.java:105)
org.drools.reteoo.ReteooBuilder.removeRule(ReteooBuilder.java:242)
   - locked org.drools.reteoo.ReteooBuilder at 622e199e
org.drools.reteoo.ReteooRuleBase.removeRule(ReteooRuleBase.java:468)
org.drools.common.AbstractRuleBase.removeRule(AbstractRuleBase.java:971)
org.drools.common.AbstractRuleBase.mergePackage(AbstractRuleBase.java:739)
org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:557)
org.drools.reteoo.ReteooRuleBase.addPackages(ReteooRuleBase.java:481)
org.drools.impl.KnowledgeBaseImpl.addKnowledgePackages(KnowledgeBaseImpl.java:150)
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1083)
org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:969)
   - locked org.drools.agent.impl.KnowledgeAgentImpl$RegisteredResourceMap at 4094066d
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:673)
   - locked org.drools.agent.impl.KnowledgeAgentImpl$RegisteredResourceMap at 4094066d
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:201)
   - locked org.drools.agent.impl.KnowledgeAgentImpl$RegisteredResourceMap at 4094066d
org.drools.agent.impl.KnowledgeAgentImpl$ChangeSetNotificationDetector.run(KnowledgeAgentImpl.java:1268)
java.lang.Thread.run(Thread.java:722)
                
> Rule Engine Crashes when used Slide Window constraints and kAgent is configured as incremental processing
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-195
>                 URL: https://issues.jboss.org/browse/DROOLS-195
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Alessandro Lazarotti
>            Assignee: Mark Proctor
>         Attachments: LoopTest.java
>
>
> When there is a Slide Window constraint and the kbase is configured to receive incremental changes from the kagent (drools.agent.newInstance as false) - the engine crashes
> Attached unit test
> Version: 5.3.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list