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
After debugging this further, I find that in
NS_IMETHODIMP
nsGenericModule::GetClassObject(nsIComponentManager *aCompMgr,
const nsCID& aClass,
const nsIID& aIID,
void** r_classObj)
during the for loop when it's looking for a component whose CID equals
the requested cid, it doesn't find one. Does this mean that
autoregistration is failing somehow?
#0 nsGenericModule::GetClassObject (this=0x81d3b18, aCompMgr=0x81c9ba8,
aClass=@0x809f098, aIID=@0x49137ad0, r_classObj=0xbe5ff3d4)
at nsGenericFactory.cpp:259
#1 0x490c71e8 in nsNativeComponentLoader::GetFactoryFromModule (
this=0x81cc350, aDll=0x80f5b90, aCID=@0x809f098, aFactory=0xbe5ff3d4)
at nsNativeComponentLoader.cpp:1184
#2 0x490c3c5d in nsNativeComponentLoader::GetFactory (this=0x81cc350,
aCID=@0x809f098, aLocation=0x809f0f8 "rel:libstrres.so",
aType=0x809f0d0 "application/x-mozilla-native", _retval=0xbe5ff3d4)
at nsNativeComponentLoader.cpp:136
#3 0x49126232 in nsFactoryEntry::GetFactory (this=0x809f098,
aFactory=0xbe5ff3d4, mgr=0x81c9ba8) at nsComponentManager.h:217
#4 0x490bf195 in nsComponentManagerImpl::FindFactory (this=0x81c9ba8,
aClass=@0xbe5ff4d4, aFactory=0xbe5ff3d4) at nsComponentManager.cpp:1028
--
Remove REMOVE_THIS from email address before replying.