Ed Burns <[EMAIL PROTECTED]> writes:

> Ed Burns <[EMAIL PROTECTED]> writes:
> 
> > I have webclient working with 0.8.1 on Win32, but I can't get it working
> > on Linux or Solaris.  For some reason the following components can't load:
> > 
> > +++ nsGenericModule JS component loader: unable to create factory for
> > {6bd13476-1dd2-11b2-bbef-f0ccb5fa64b6}
> > ###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file
> > nsNativeComponentLoader.cpp, line 157
> 

I find that the nsGenericModule ctor for "JS component loader" is called
once in the java case, with mComponents is:

debug: edburns: printing argument components for JS component loader
        @mozilla.org/widgets/window/gtk;1
        @mozilla.org/widgets/child_window/gtk;1
        @mozilla.org/widgets/button/gtk;1
        @mozilla.org/widgets/checkbutton/gtk;1
        @mozilla.org/widgets/filewidget/gtk;1
        @mozilla.org/widgets/horizscroll/gtk;1
        @mozilla.org/widgets/vertscroll/gtk;1
        @mozilla.org/widgets/textwidget/gtk;1
        @mozilla.org/widget/appshell/gtk;1
        @mozilla.org/widget/toolkit/gtk;1
        @mozilla.org/widget/lookandfeel/gtk;1
        @mozilla.org/widget/label/gtk;1
        @mozilla.org/sound;1
        @mozilla.org/widget/transferable;1
        @mozilla.org/widget/clipboard;1
        @mozilla.org/widget/htmlformatconverter/gtk;1
        @mozilla.org/widget/fontretrieverservice/gtk;1
        @mozilla.org/widget/dragservice;1
        @mozilla.org/filespecwithui;1

But it's called twice in the mozilla case, with the mComponents the
first time being:

debug: edburns: printing argument components for JS component loader
        @mozilla.org/moz/jsloader;1
        @mozilla.org/moz/jssubscript-loader;1

and the second time being:

debug: edburns: printing argument components for JS component loader
        @mozilla.org/widgets/window/gtk;1
        @mozilla.org/widgets/child_window/gtk;1
        @mozilla.org/widgets/button/gtk;1
        @mozilla.org/widgets/checkbutton/gtk;1
        @mozilla.org/widgets/filewidget/gtk;1
        @mozilla.org/widgets/horizscroll/gtk;1
        @mozilla.org/widgets/vertscroll/gtk;1
        @mozilla.org/widgets/textwidget/gtk;1
        @mozilla.org/widget/appshell/gtk;1
        @mozilla.org/widget/toolkit/gtk;1
        @mozilla.org/widget/lookandfeel/gtk;1
        @mozilla.org/widget/label/gtk;1
        @mozilla.org/sound;1
        @mozilla.org/widget/transferable;1
        @mozilla.org/widget/clipboard;1
        @mozilla.org/widget/htmlformatconverter/gtk;1
        @mozilla.org/widget/fontretrieverservice/gtk;1
        @mozilla.org/widget/dragservice;1
        @mozilla.org/filespecwithui;1

This first time invocation is key to the GetClassObject working.

Why is this not getting called with the right component set in the
embedding case?

-- 
Remove REMOVE_THIS from email address before replying.
These are my views, and may not be the same as Sun Microsystems Inc.

Reply via email to