Why do I receive a Java NullPointerException error when I try to view a partially constructed custom network in the Neural Network Tool in the Neural Network Toolbox?

3 views (last 30 days)
I use the NETWORK function to create a custom network:
net = network;
I import the network to the Neural Network Tool. Then I try to view the network using the "View" button in the Neural Network Tool. I receive an error:
java.lang.NullPointerException
at com.mathworks.toolbox.nnet.NNTGUI.convertStringsToChars(NNTGUI.java:110)
at com.mathworks.toolbox.nnet.NNTGUI.postEventToMATLAB(NNTGUI.java:88)
at com.mathworks.toolbox.nnet.NNTGUI.postEvent(NNTGUI.java:167
[SNIP]

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in the Neural Network Toolbox 4.0.4 (R14SP1) and earlier versions in the way that the Neural Network Tool handles partially constructed custom networks.
There are currently no known workarounds, except to avoid viewing the network until it is fully constructed.

More Answers (0)

Products


Release

R14SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!