encog/encog-java-core — Issue #29: Basic NPE issue creating a PNN in workbench
Author: seemasingh
Created: 2012-01-26 14:22:52+00:00
State: open

For more info see:

http://www.heatonresearch.com/comment/reply/2471#comment-form

----
A bug report -- this is strange in that I cannot be the first trying to create a PNN for classification on Windows VISTA...

Steps to produce the error:
1. File->New file
2. Choose Machine Learnign Method, type some name, click OK
3. In next dialog, choose PNN/GRNN, click OK
4. In the next dialog, put/choose something, anything, click OK, and you'll get the error

BTW, I tried to download the workbench source but the latest I can find is 2.5.3 in Google Code. Tried git, but the tarball has a few dozen java files in the root dir. Is there a better way to get the workbench source code?

Thanks in advance!

-------------------------------------------------
Encog Version: 3.0.1
Encog Workbench Version: 3.0.1
Java Version: 1.6.0_30
Java Vendor: Sun Microsystems Inc.
OS Name: Windows Vista
OS Arch: x86
OS Version: 6.0
Core Count: 4
----------------------------------------------------------------------
Exception: java.lang.NullPointerException
org.encog.neural.pnn.PersistBasicPNN.save(PersistBasicPNN.java:233)
org.encog.persist.EncogDirectoryPersistence.saveObject(EncogDirectoryPersistence.java:184)
org.encog.persist.EncogDirectoryPersistence.saveObject(EncogDirectoryPersistence.java:148)
org.encog.workbench.EncogWorkBench.save(EncogWorkBench.java:340)
org.encog.workbench.process.CreateNeuralNetwork.process(CreateNeuralNetwork.java:123)
org.encog.workbench.process.CreateNewFile.performCreateFile(CreateNewFile.java:63)
org.encog.workbench.frames.document.EncogMenus.actionPerformed(EncogMenus.java:216)
org.encog.workbench.frames.document.EncogDocumentFrame.actionPerformed(EncogDocumentFrame.java:112)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$000(Unknown Source)
java.awt.EventQueue$1.run(Unknown Source)
java.awt.EventQueue$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$2.run(Unknown Source)
java.awt.EventQueue$2.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)