Bug 1009348 - IndexOutOfBoundsException is thrown, when operator and is inside conditional element not
Summary: IndexOutOfBoundsException is thrown, when operator and is inside conditional...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER5
: 6.0.0
Assignee: Mario Fusco
QA Contact: Tomas David
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-18 09:16 UTC by Tomas David
Modified: 2014-08-06 20:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:16:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas David 2013-09-18 09:16:47 UTC
Description of problem:
When conditional element 'not' is used with length sliding window and two parts separated by operator 'and' are inside 'not', test fails with IndexOutOfBoundsException. 

Version-Release number of selected component (if applicable):
Drools 6.0.0-SNAPSHOT
Drools 6.0.0.ER3

How reproducible:
Pull request #257 submited in Drools.

Steps to Reproduce:
1. Make a drl file with one rule, which contains conditional element 'not' after 'when'. Two parts separated by operator 'and' should be inside 'not' and first part should contains length sliding window.
2. Write a simple test with one kieSession.
3. Run test.

Actual results:
IndexOutOfBoundsException is thrown.

Expected results:
Test should pass.

Additional info:

Comment 5 Mark Proctor 2013-10-15 22:27:49 UTC
This is now fixed and cherry-picked to 6.0.x

Comment 6 Tomas David 2013-11-28 08:58:51 UTC
Verified on BRMS 6.0.0.ER5.


Note You need to log in before you can comment on or make changes to this bug.