Menu

hello world demo with Netbeans 6.1

Help
2008-07-30
2012-09-22
  • Stephen Brink

    Stephen Brink - 2008-07-30

    Hi,
    I ran the "hello world" demo in Netbeans 6.1 and this is the output that I got:
    all:
    Compiling 1 source file to C:\Documents and Settings\sbrink\Desktop\Sphinx speech recognition\trunk\sphinx4\src\bld\classes
    run:
    Loading...
    04:36.663 INFO logMath Log base is 1.0001
    04:36.725 INFO logMath Using AddTable when adding logs
    04:36.788 INFO logMath LogAdd table has 99022 entries.
    Exception in thread "main" java.lang.NullPointerException
    at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.loadProperties(ModelLoader.java:279)
    at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.getIsBinaryDefault(ModelLoader.java:293)
    at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.ModelLoader.newProperties(ModelLoader.java:252)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:429)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:272)
    at edu.cmu.sphinx.model.acoustic.WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.Model.newProperties(Model.java:105)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:429)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:272)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.setupAcousticModel(FlatLinguist.java:226)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:189)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:429)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:272)
    at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProperties(SimpleBreadthFirstSearchManager.java:143)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:429)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:272)
    at edu.cmu.sphinx.decoder.AbstractDecoder.newProperties(AbstractDecoder.java:46)
    at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:31)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:429)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:272)
    at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:79)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:429)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:162)
    at demo.sphinx.helloworld.HelloWorld.main(HelloWorld.java:46)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 18 seconds)

    I imagine that this is not exactly what is supposed to happen. Can anyone figure what is going wrong? Thanks.

    Stephen

     
    • Nickolay V. Shmyrev

      Your classpath misses WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar.

       

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.