Menu

Errors in Executing the sample of Sphinx-4

Help
2006-06-19
2012-09-22
  • SuneelReddy

    SuneelReddy - 2006-06-19

    Hi, Im trying to use Sphinx in my application. I am working with the demo samples that are provided. HelloDigits program is compiled properly, but it is giving errors while executing. Following are the errors occured:
    Exception in thread "main" java.lang.NullPointerException
    at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadProperties(ModelLoader.java:372)
    at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.getIsBinaryDefault(ModelLoader.java:386)
    at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.newProperties(ModelLoader.java:346)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model.newProperties(Model.java:159)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.setupAcousticModel(FlatLinguist.java:299)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:246)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProperties(SimpleBreadthFirstSearchManager.java:180)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:71)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at edu.cmu.sphinx.util.props.ValidatingPropertySheet.getComponent(ValidatingPropertySheet.java:403)
    at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:93)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:214)
    at demo.sphinx.hellodigits.HelloDigits.main(HelloDigits.java:49)

    Could you please help me in resolving this.

    Thanks & Regards
    Suneel

     
    • SuneelReddy

      SuneelReddy - 2006-06-20

      Thanks, I have resolved this problem.

       
      • Antonio

        Antonio - 2006-06-25

        How did you solved the problem?

        Anto

         

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.