[jboss-jira] [JBoss JIRA] (DROOLS-1340) IndexOutOfBoundsException when using query with 2 entry points

Tibor Zimányi (JIRA) issues at jboss.org
Thu Oct 20 04:03:00 EDT 2016


Tibor Zimányi created DROOLS-1340:
-------------------------------------

             Summary: IndexOutOfBoundsException when using query with 2 entry points
                 Key: DROOLS-1340
                 URL: https://issues.jboss.org/browse/DROOLS-1340
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 6.5.0.Final
            Reporter: Tibor Zimányi
            Assignee: Mario Fusco


Sometimes, when using query with 2 entry points along with fireUntilHalt, the method getQueryResults fails with IndexOutOfBoundsException. See stacktrace here [1]. This was observed first in Jenkins environment running existing test QueryCepFireUntilHaltTest.withResultTest from drools repository. I managed to reproduce it locally looping the test with this code: 

@Test
    public void testBla() {
        for (int i = 0; i < 10000; i++) {
            prepare();
            try {
                withResultTest();
            } finally {
                cleanup();
            }
        }
    }

[1] http://pastebin.com/BBPsGty9



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



More information about the jboss-jira mailing list