| Summary: | NullPointerException occurs when newInstance property is set to false for the KnowledgeAgentConfiguration | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Alessandro Lazarotti <alazarot> | ||||
| Component: | BRE (Expert, Fusion) | Assignee: | Nobody <nobody> | ||||
| Status: | VERIFIED --- | QA Contact: | Radovan Synek <rsynek> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | BRMS 5.3.0.GA | CC: | ajuricic, alazarot, atangrin, rwagner | ||||
| Target Milestone: | ER7 | ||||||
| Target Release: | BRMS 5.3.0.GA | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
When a rule with a sliding window and pending scheduled event expirations was removed from or replaced on the knowledge base, the engine was not properly cleaning the pending event expirations, and a NullPointerException was raised when the expiration was about to be executed. The engine is now properly cleaning up pending expirations when the rule is removed or replaced, and no more exceptions are raised.
|
Story Points: | --- | ||||
| Clone Of: | 813547 | Environment: | |||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | 813547 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Alessandro Lazarotti
2012-04-19 20:13:23 UTC
GSS considers this an important addition to BRMS 5.3, as it is being fixed in 5.2 and we don't want a regression. Thanks, Rick This was committed to all branches: 5.2, 5.3, 5.4 and master (5.5). https://bugzilla.redhat.com/show_bug.cgi?id=813547 The fixed for this issue should be included in ER7. Please do verification on it. The fix is in and the tests do not fail. VERIFIED. Customer is still facing the issue on BRMS 5.3.1. I will attach a new test case ASAP Created attachment 606373 [details]
Test case demonstrating the issue still after BRMS 5.3.0 release
Attached a new test case demonstrating the issue still after BRMS 5.3.0 release
Edson, do you need a pull request about the attached test case or just it here is enough? Alessandro, thank you, the attached case allowed me to see the remaining issue. The engine was not properly cleaning up scheduled event expiration for events that belonged to sliding windows, when the rule was removed or replaced/updated. This is fixed now, test case was updated. <jbossbot> git [drools] push 5.3.x f10b9d1.. Edson Tirelli JBRULES-3467: BZ-813547: BZ-814415: the engine was not cleaning up scheduled expirations for events in sliding windows when removing or replacing an existing rule. Fixed, test case updated. <jbossbot> jira [JBRULES-3467] NullPointerException occurs when newInstance property is set to false for the KnowledgeAgentConfiguration [Closed (Done) Bug, Major, Edson Tirelli] https://issues.jboss.org/browse/JBRULES-3467 <jbossbot> git [drools] push 5.3.x URL: http://github.com/droolsjbpm/drools/compare/fe70276...f10b9d1 Verified on 5.3.1.BRMS-ER1 |