Error: uncaught exception: java.lang.IllegalAccessException

"stefan.saye" <[email protected]> Wed, 17 Mar 2010 23:57:31 +0800
Newsgroups gmane.comp.mozilla.devel.oji
Message-ID <4ba0fbf4.0e0db80a.3df6.70e1__36673.6655509614$1268841485$gmane$org@mx.google.com>
hi all,

I'm trying to run a very simple java program from a Firefox extension.

When I run the java code as standalone I do not get the exception. Maybe
there is something wrong in my js file.

I am getting a "Error: uncaught exception: java.lang.IllegalAccessException:
Class sun.plugin.javascript.JSInvoke can not access a member of class
firstExtension with modifiers """

In order to work out what I'm misunderstanding/doing wrong I'd be really
grateful if someone could show me how to solve the problem ?

 

Thanks a lot!

Stefan