Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java speech error

 
Rohit Savant
Greenhorn
Posts: 21
Fedora Java ME Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to do a text to speech.But getting following error.
jsapi.jar has been imported.
OS: UBUNTU 12.10 64 bit.
Thanks for help

java.lang.NullPointerException
done
at savvy.test.synthesize.command.JavaVoice.open(JavaVoice.java:21)
at savvy.test.synthesize.command.JavaVoice.main(JavaVoice.java:49)
java.lang.NullPointerException
at savvy.test.synthesize.command.JavaVoice.speak(JavaVoice.java:37)
at savvy.test.synthesize.command.JavaVoice.main(JavaVoice.java:50)




 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which object (or object reference) is null?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic