[jboss-jira] [JBoss JIRA] (JBRULES-3649) Planner: IndexOutOfBoundsException in Benchmarker's BestScoreProblemStatistic.writeGraphStatistic

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Thu Oct 4 04:15:04 EDT 2012


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

Geoffrey De Smet commented on JBRULES-3649:
-------------------------------------------

Regression in 5.5.0.Beta1 from 5.4.0.Final.

How to reproduce:
This bug occurs in a Benchmark with BEST_SOLUTION_CHANGED if it runs a Solver that starts from an initialized solution (=> no active construction heuristic) and the entire solver run doesn't improve the score.

How to workaround:
- Disable BEST_SOLUTION_CHANGED
- Or run the Solver longer

Fixed for 5.5.0.Beta2.

                
> Planner: IndexOutOfBoundsException in Benchmarker's BestScoreProblemStatistic.writeGraphStatistic
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3649
>                 URL: https://issues.jboss.org/browse/JBRULES-3649
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-planner
>    Affects Versions: 5.5.0.Beta1
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>             Fix For: 5.5.0.CR1
>
>
> {code}
> Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.RangeCheck(Unknown Source)
>         at java.util.ArrayList.get(Unknown Source)
>         at org.drools.planner.benchmark.core.statistic.bestscore.BestScoreProblemStatistic.writeGraphStatistic(BestScoreProblemStatistic.java:120)
>         at org.drools.planner.benchmark.core.statistic.AbstractProblemStatistic.writeStatistic(AbstractProblemStatistic.java:82)
>         at org.drools.planner.benchmark.core.statistic.BenchmarkReport.writeReport(BenchmarkReport.java:138)
>         at org.drools.planner.benchmark.core.DefaultPlannerBenchmark.benchmarkingEnded(DefaultPlannerBenchmark.java:295)
>         at org.drools.planner.benchmark.core.DefaultPlannerBenchmark.benchmark(DefaultPlannerBenchmark.java:174)
> {code}

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