[Project_owners] problems with xpcshell

Davide Carboni dcarboni at crs4.it
Tue Oct 26 18:35:32 EDT 2004


Hi, I'm running xpcshell under Win32 and trying to load and execute the 
xpcom so called 'sample' available with the codebase. I'm having these 
troubles ... Any clue?
Thank you
Davide



js> var c = new Components.Constructor("@mozilla.org/sample;1", 
"nsISample");
js> comp=new c()


###!!! ASSERTION: Factory creation failed: 'NS_SUCCEEDED(rv)', file 
c:/mozilla-src-1.7.3/mozilla/xpcom/components/nsNativeComponentLoader.cpp, 
line 142
uncaught exception: [Exception... "Component returned failure code: 
0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) 
[nsIJSCID.createInstance]"  nsresult: "0x80570015 
(NS_ERROR_XPC_CI_RETURNED_FAILURE)"  location: "JS frame :: typein :: 
<TOP_LEVEL> :: line 10"  data: no]


More information about the Project_owners mailing list