encog/encog-java-core — Issue #42: Workbench: task-evaluate NullPointerException
Author: PetrToman
Created: 2012-02-04 08:48:13+00:00
State: open

1) Train NN in Workbench 3.0.1 (because of issue #41) and exit Workbench.
2) Open the project in Workbench 3.1 (git snapshot), doubleclick .ega file, select "task-evaluate", hit "Execute" and then "Start". The following exception will be thrown:

Exception: java.lang.NullPointerException
org.encog.app.analyst.script.normalize.AnalystField.encodeEquilateral(AnalystField.java:367)
org.encog.app.analyst.script.normalize.AnalystField.encode(AnalystField.java:333)
org.encog.app.analyst.script.normalize.AnalystField.encode(AnalystField.java:355)
org.encog.app.analyst.csv.normalize.AnalystNormalizeCSV.extractFields(AnalystNormalizeCSV.java:102)
org.encog.app.analyst.csv.AnalystEvaluateCSV.process(AnalystEvaluateCSV.java:188)
org.encog.app.analyst.commands.CmdEvaluate.executeCommand(CmdEvaluate.java:106)
org.encog.app.analyst.EncogAnalyst.executeTask(EncogAnalyst.java:487)
org.encog.app.analyst.EncogAnalyst.executeTask(EncogAnalyst.java:514)
org.encog.workbench.tabs.analyst.AnalystProgressTab.run(AnalystProgressTab.java:334)
java.lang.Thread.run(Unknown Source)

Here's my data (and project) to reproduce the bug: http://dione.zcu.cz/~toman40/encog/encog_eval_bug.zip