I am trying to run a program in eclipse, and I am getting the following error:
Exception in thread "main" java.lang.NullPointerException
at edu.cmu.sphinx.util.props.SaxLoader.load(SaxLoader.java:64)
at edu.cmu.sphinx.util.props.ConfigurationManager.loader(ConfigurationManager.java:383)
at edu.cmu.sphinx.util.props.ConfigurationManager.<init>(ConfigurationManager.java:115)
at speechRec.SphinxWrapper.<init>(SphinxWrapper.java:38)
at speechRec.SphinxInterface.main(SphinxInterface.java:96)
The last two errors are a result of trying to use the Configuration Manager. Does anyone know how to fix this? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to run a program in eclipse, and I am getting the following error:
Exception in thread "main" java.lang.NullPointerException
at edu.cmu.sphinx.util.props.SaxLoader.load(SaxLoader.java:64)
at edu.cmu.sphinx.util.props.ConfigurationManager.loader(ConfigurationManager.java:383)
at edu.cmu.sphinx.util.props.ConfigurationManager.<init>(ConfigurationManager.java:115)
at speechRec.SphinxWrapper.<init>(SphinxWrapper.java:38)
at speechRec.SphinxInterface.main(SphinxInterface.java:96)
The last two errors are a result of trying to use the Configuration Manager. Does anyone know how to fix this? Thanks!
You've probably forgotten to put the jar to your classpath which contains the configuration file for sp4.
Holger