Menu

NullPointerException

Help
2006-07-10
2012-09-22
  • wrdstomakeup

    wrdstomakeup - 2006-07-10

    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!

     
    • Holger Brandl

      Holger Brandl - 2006-07-11

      You've probably forgotten to put the jar to your classpath which contains the configuration file for sp4.

      Holger

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.