Re: FinalizeParams failed when accessing custom component from Java

Michal Ceresna <[email protected]> Mon, 6 Aug 2007 19:39:49 +0200
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <200708061939.49962.michal.ceresna__5223.69370232827$1186492577$gmane$org@gmail.com>
On Tuesday 07 August 2007, Marcus Better wrote:

Hello Marcus,

>
> I have run into more problems with JavaXPCOM. My test code (basically the
> same as before) now works when running as a stand-alone Java application
> without SWT, but fails when I run it as an Eclipse plugin.
Did you export the java interface the PDE-plugin? This was a problem in 
my app. The java interface of my JS component was 
private in a PDE-plugin and then javaxpcom could not load it.

> The error is the same as before, that I get an exception when calling
> getServiceByContractID for my service which is implemented in JavaScript.
> In the non-Eclipse app the call succeeds. Moreover I can access built-in
> XPCOM services even in the Eclipse app.

regards,
Michal