Re: FinalizeParams failed when accessing custom component from Java

Marcus Better <[email protected]> Fri, 03 Aug 2007 10:35:59 +0200
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <f8updf$inr$1__29192.5163627186$1186131076$gmane$org@sea.gmane.org>
Marcus Better wrote:
> I have implemented some XPCOM components in JavaScript, but when I try
> to access them, JavaXPCOM throws an exception like this:
> 
> org.mozilla.xpcom.XPCOMException: FinalizeParams failed  (0x80004005)

> (Note that I manually added the "package org.example.xpcom" line.)

That was the problem - the interfaces must belong to org.mozilla.interfaces.
It seems to work now.

A more sensible error message would have helped greatly though!

Cheers,

Marcus