Re: Problem with java
Josué Leal Moura Dantas <[email protected]> Wed, 23 Mar 2011 11:30:55 -0300
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <[email protected]> |
I've done thsis, but the strange thing is that the first call the function works, but in the second time a mentioned error happens, I think it's because in my method instantiate many objects of other classes, any other suggestions? 2011/3/22 Markus Doering <[email protected]> > Hi there, > > make a try-catch throug your code example. And catch this Exception with > like this: > > Class Test { > > public static void myMethod (String test) { > > try { > ...my Code > } catch (Exception e) { > e.printStackTrace > > } > Use always the Generic Exception. > Enable Browser-Plugin console and you get a correct Exception. You must do > try and error! > > Good Luck! > > 2011/3/22 Josu=E9 Leal Moura Dantas <[email protected]> > >> I'm making an extension that calls a method of a java class in a jar >> through >> of the Liveconnect. I got to make the call, but it only do the first tim= e, >> the >> second the following error is displayed "Error: uncaught exception: >> java.lang.reflect.InvocationTargetException", can anyone help me? >> >> -- >> Josu=E9 Leal Moura Dantas >> _______________________________________________ >> dev-tech-java mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-tech-java >> > > -- = Josu=E9 Leal Moura Dantas Mestrando em Ci=EAncia da Computa=E7=E3o (UFPA) (94) 8117-0893