ECJ-INTEREST-L Archives

December 2007

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gabriel Catalin Balan <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Sat, 1 Dec 2007 10:21:57 -0500
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (78 lines)
I'm running some sort of newer version of ECJ 16 (off the
http://sourceforge.net/ CVS repository)

| Date: April 7, 2006
| Current Java: 1.4.2_12 / Java HotSpot(TM) Client VM-1.4.2-70

I turned on print-params (print-params=true) and I the closest thing I see
to pop.subpop.0.species.fitness is:

pop.subpop.0.fitness = ec.simple.SimpleFitness

Plus, your exception is thrown from ec.Species.setup(Species.java:228),
and my Species.java has only 188 lines.

You're saying you're trying ECJ for the first time, so I'm guessing you
haven't play with the code.

The only fix I see is to update/upgrade ecj
(http://sourceforge.net/projects/ecj/).


Gabriel

On Fri, 30 Nov 2007, Michael B Sullivan wrote:

> Hi All,
>
> I'm sorry to waste anybody's time with a basic question, but I'm trying out ECJ16 for the first time today, and I've had trouble getting the tutorials to execute successfully.  The errors I get appear to be similar to ones that came up in an unresolved issue from 2006:
>
> https://listserv.gmu.edu/cgi-bin/wa?A2=ind0609&L=ECJ-INTEREST-L&P=R187&I=-3
>
> Tutorial #1 runs to completion, so something is working.  However, running tutorial2, tutorial3 or tutorial4 results in the following error:
>
> 	lfm@lfm-x61:~/install/ecj/ec/app/tutorial2$ java ec.Evolve -file tutorial2.params
>
> 	| ECJ
> 	| An evolutionary computation system (version 16)
> 	| By Sean Luke
> 	| Contributors: L. Panait, G. Balan, S. Paus, Z. Skolicki, R. Kicinger,
> 	|               J. Harrison, J. Bassett, R. Hubley, A. Desai, and A. Chircop
> 	| URL: http://cs.gmu.edu/~eclab/projects/ecj/
> 	| Mail: [log in to unmask]
> 	|       (better: join ECJ-INTEREST at URL above)
> 	| Date: March 20 2007
> 	| Current Java: 1.6.0 / Java HotSpot(TM) Server VM-1.6.0-b105
> 	| Required Minimum Java: 1.3
>
>
> 	Threads:  breed/1 eval/1
> 	Seed: 4357
> 	Job: 0
> 	Setting up
> 	Initializing Generation 0
> 	Exception in thread "main" ec.util.ParamClassLoadException:
> 	No class name provided.
> 	PARAMETER: pop.subpop.0.species.fitness
> 	        at ec.util.ParameterDatabase.getInstanceForParameter(ParameterDatabase.java:421)
> 	        at ec.Species.setup(Species.java:228)
> 	        at ec.vector.VectorSpecies.setup(VectorSpecies.java:146)
> 	        at ec.vector.IntegerVectorSpecies.setup(IntegerVectorSpecies.java:178)
> 	        at ec.Subpopulation.setup(Subpopulation.java:132)
> 	        at ec.Population.setup(Population.java:105)
> 	        at ec.simple.SimpleInitializer.initialPopulation(SimpleInitializer.java:46)
> 	        at ec.simple.SimpleEvolutionState.startFresh(SimpleEvolutionState.java:54)
> 	        at ec.EvolutionState.run(EvolutionState.java:376)
> 	        at ec.Evolve.main(Evolve.java:595)
>
> I've tried using full pathnames of the parameter files to no avail.  I've also tried Java 1.4.2 (gcj) which resulted in the same error.  My CLASSPATH is configured to include the ecj main folder:
>
> 	lfm@lfm-x61:~/install/ecj/ec/app/tutorial2$ echo $CLASSPATH
> 	/home/lfm/install/ecj/
>
> The problem is most likely with my configuration, but being unfamiliar with ECJ, I'm not sure where I should proceed from here.  Has anybody had any experience with this error since it last arose?
>
> Thanks!
> Mike
>

ATOM RSS1 RSS2