This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes java speech error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java speech error" Watch "java speech error" New topic
Author

java speech error

Rohit Savant
Greenhorn

Joined: Oct 30, 2012
Posts: 15

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
Marshal

Joined: Mar 22, 2005
Posts: 41092
    
  44
Which object (or object reference) is null?


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java speech error
 
Similar Threads
Runtime Error - JSAPI HelloWorld Program
Java speech & Java Telephony
regardin JSAPI
Text to speech
Java Speech API: Changing the voice