I tried to run the HelloWorld demo in the JCreator, but it showed the following error message:
Loading...
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(ConfigurationMa
nager.java:383)
at edu.cmu.sphinx.util.props.ConfigurationManager.<init>(ConfigurationMa
nager.java:115)
at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:47)
Press any key to continue...
Does any body know how to solve the above problem?
Thanks in advance.
Dan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We're not big IDE users (my favorite IDE consists of emacs and ant), so it's tough for us to debug problems like this. Based upon your description, though, I'd guess that there's a CLASSPATH problem somewhere.
Will
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I added all the jar files from C:..\sphinx4-1.0beta\lib to C:\jdk1.5.0_02\jre\lib\ext. The demo doesnt have a compiling problem, but it has an executing problem.
Do you think where ClassPath problem might be?
Dan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like the run might not be finding all of the Sphinx-4 class files. They may need to be packaged in a jar file for everything to work, but I'm not exactly sure about this.
Will
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I tried to run the HelloWorld demo in the JCreator, but it showed the following error message:
Loading...
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(ConfigurationMa
nager.java:383)
at edu.cmu.sphinx.util.props.ConfigurationManager.<init>(ConfigurationMa
nager.java:115)
at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:47)
Press any key to continue...
Does any body know how to solve the above problem?
Thanks in advance.
Dan
Hello,
Once again, does any one know how to solve the problem I wrote last time?
I couldnt find classes edu.cmu.sphinx.util.props.SaxLoader.load and edu.cmu.sphinx.util.props.ConfigurationManager.loader in the Sphinx-4 Javadocs http://cmusphinx.sourceforge.net/sphinx4/javadoc/index.html
By the way, the HelloWorld demo worked when I followed the instructions on page http://cmusphinx.sourceforge.net/sphinx4/demo/sphinx/helloworld/README.html
But, I want to make my own speech recognition application in Java by using JCreator.
Any help will be greatly appreciated.
Thank you,
Dan
Hi Dan:
We're not big IDE users (my favorite IDE consists of emacs and ant), so it's tough for us to debug problems like this. Based upon your description, though, I'd guess that there's a CLASSPATH problem somewhere.
Will
Hi Will,
Thanks for your reply.
I added all the jar files from C:..\sphinx4-1.0beta\lib to C:\jdk1.5.0_02\jre\lib\ext. The demo doesnt have a compiling problem, but it has an executing problem.
Do you think where ClassPath problem might be?
Dan
Hi Dan:
It looks like the run might not be finding all of the Sphinx-4 class files. They may need to be packaged in a jar file for everything to work, but I'm not exactly sure about this.
Will
Hi,
Does any one esle use JCreator to run the HelloWorld demo?
I tried Boland JBuilder, it has the same problems.
Dan