ECJ-INTEREST-L Archives

June 2014

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:
Eric 'Siggy' Scott <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Fri, 6 Jun 2014 00:18:56 -0400
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (607 bytes) , text/html (949 bytes)
Using the latest SVN revision:

When using the "stat.child.0" syntax to add Statistics instances to
steady-state evolution, the method
SteadyStateEvolutionState.checkStatistics(), which is called from setup(),
assumes that the "base" Parameter passed in will have the
value P_STATISTICS.

In fact, the base Parameter used by SteadyStateEvolutionState.setup() is
null, so we get a NPE during initialization.

A simple fix is to replace "base" with "new Parameter(P_STATISTICS)" in the
call to checkStatistics on line 101.

Cheers,
Siggy

-- 

Ph.D student in Computer Science
George Mason University
http://mason.gmu.edu/~escott8/


ATOM RSS1 RSS2