Looks like this package is experiencing bitrot from other changes to ECJ.  In NSGA2Breeder.setup(), change the line

	for (int i = 0; i < state.population.subpops.length; i++)
	for (int i = 0; i < reduceBy.length; i++) 

However it looks like the package is missing some default settings and also I don't like the look of the F2 problem.  You can get the package working with the above, but it will take a few days for me to properly go through it and clean it out.


On Sep 17, 2015, at 2:47 PM, Renzo Massobrio <[log in to unmask]> wrote:

> Hello everyone,
> I am having a trouble with some really basic thing. On a fresh ECJ install I want to run the moosuite example with the following command:
> java ec.Evolve -file moosuite.params
> And I am encountering the following error message:
> Threads:  breed/1 eval/1
> Seed: -593881504 
> Job: 0
> Setting up
> Exception in thread "main" java.lang.NullPointerException
>        at ec.multiobjective.nsga2.NSGA2Breeder.setup(
>        at ec.EvolutionState.setup(
>        at ec.simple.SimpleEvolutionState.startFresh(
>        at
>        at ec.Evolve.main(
> Am i missing something? Anything with the same issue?
> Thanks in advance and have a nice day.
> Regards,
> Renzo