Closed GoogleCodeExporter closed 8 years ago
Th error is triggered in the following line (EcGeneticUtil.java:121):
IChromosome chromosome = (IChromosome) arg0.getChromosome(i).clone();
It tries to execute clone() method defined in ICloneable interface which is
package protected for some reason. Since you are calling it from a different
package you are getting the exception. It is unclear why you did not get the
error on different environments.
Try to cast returned value to Cloneable before calling the clone() method.
Original comment by sergey...@gmail.com
on 26 Oct 2010 at 11:00
Fixed in r66
Original comment by netpr...@gmail.com
on 27 Oct 2010 at 6:19
Original issue reported on code.google.com by
netpr...@gmail.com
on 26 Oct 2010 at 9:25