mlilien
September 21st, 2008, 10:50 PM
I was recently working on a java project in eclipse, and tried to add a new library to the build path. This operation crashed Eclipse, and not only that, anytime I tried to restart eclipse, it crashed. So, I decided to uninstall and then reinstall eclipse.
Now, when I set up the program I'm working with (CMU's Sphinx) the same way that I had set up the workspace the first time, when I run an application, I get the following error:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
assert cannot be resolved to a type
Duplicate local variable rawLength
Syntax error on token "==", = expected
assert cannot be resolved to a type
Duplicate local variable numStreams
Syntax error on token "==", = expected
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.ModelLoader.loadDensityFil eBinary(ModelLoader.java:786)
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.ModelLoader.loadModelFiles (ModelLoader.java:541)
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.ModelLoader.load(ModelLoad er.java:476)
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.Model.allocate(Model.java: 177)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate AcousticModel(FlatLinguist.java:336)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate (FlatLinguist.java:318)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSe archManager.allocate(SimpleBreadthFirstSearchManag er.java:602)
at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.ja va:109)
at edu.cmu.sphinx.recognizer.Recognizer.allocate(Reco gnizer.java:182)
at demo.sphinx.hellodigits.HelloDigits.main(HelloDigi ts.java:52)
I didn't have this issue before reinstalling Eclipse. Does anyone have any idea what the issue might be? Thanks.
Now, when I set up the program I'm working with (CMU's Sphinx) the same way that I had set up the workspace the first time, when I run an application, I get the following error:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
assert cannot be resolved to a type
Duplicate local variable rawLength
Syntax error on token "==", = expected
assert cannot be resolved to a type
Duplicate local variable numStreams
Syntax error on token "==", = expected
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.ModelLoader.loadDensityFil eBinary(ModelLoader.java:786)
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.ModelLoader.loadModelFiles (ModelLoader.java:541)
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.ModelLoader.load(ModelLoad er.java:476)
at edu.cmu.sphinx.model.acoustic.TIDIGITS_8gau_13dCep _16k_40mel_130Hz_6800Hz.Model.allocate(Model.java: 177)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate AcousticModel(FlatLinguist.java:336)
at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate (FlatLinguist.java:318)
at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSe archManager.allocate(SimpleBreadthFirstSearchManag er.java:602)
at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.ja va:109)
at edu.cmu.sphinx.recognizer.Recognizer.allocate(Reco gnizer.java:182)
at demo.sphinx.hellodigits.HelloDigits.main(HelloDigi ts.java:52)
I didn't have this issue before reinstalling Eclipse. Does anyone have any idea what the issue might be? Thanks.