[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:04:00 EDT 2016


     [ https://issues.jboss.org/browse/DROOLS-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Zimányi updated DROOLS-1340:
----------------------------------
    Description: 
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 [2]. 

[1] http://pastebin.com/BBPsGty9
[2] http://pastebin.com/47y1dh1W

  was:
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



> 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
>              Labels: reported-by-qe
>
> 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 [2]. 
> [1] http://pastebin.com/BBPsGty9
> [2] http://pastebin.com/47y1dh1W



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



More information about the jboss-jira mailing list