I am doing a project on "Email Reader Extension in Thunderbird".
I have written a java script file where ,i have used Live Connect to get acess to java Library from Java script.
we have used Free TTS to add voice to our Strings( i.e email's-- msg, date,from address etc... which we have extracted).
Free TTS has java classes which has Text to speech method. so, now in our java script we have called methods from those classes.so, to invoke thes methods, we used invoke(null,[parametres]) where null bcoz we are passing parameters to a main method in Freetts and since main is static we pass null and parameters, but here we are getting an Exception
"java.lang.reflect.invocationTargetException". ... can any one help me how to handle this exception?