I am getting the same error whether I am trying to embed firefox-3.1b2 or
xulrunner-1.9.0.6. I wonder if somebody, somewhere has already encountered
this one or at least can explain what to do.
Preface: there is an application which is based on mozilla platform. Its
current version is based on Mozilla 1.7, I am trying to migrate to the
latest Mozilla.
How I use the mozilla build: for now, I've copied all contents from /bin/
into my /bin/ directory
The problem: when my app is trying to run one of its own javascripts (I
still have to look what happens there exactly, it's not easy as I don't yet
know how to debug java scripts - if somebody could give me a tip on that it
would be also appreciated...) I'll get the following messages:
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIProperties.get]" nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
file:///c:/.../bin/components/nsHandlerService.js :: anonymous :: line 855"
data: no]
in this .js file, I see the following lines:
// RDF datasource containing content handling config (i.e. mimeTypes.rdf)
__ds: null,
get _ds() {
if (!this.__ds) {
var file = this._dirSvc.get("UMimTyp", Ci.nsIFile); ///THIS IS THE ONE
PRODUCING ERROR - AN
// FIXME: make this a memoizing getter if we use it anywhere else.
var ioService = Cc["@mozilla.org/network/io-service;1"].
getService(Ci.nsIIOService);
var fileHandler = ioService.getProtocolHandler("file").
QueryInterface(Ci.nsIFileProtocolHandler);
this.__ds =
this._rdf.GetDataSourceBlocking(fileHandler.getURLSpecFromFile(file));
}
return this.__ds;
},
The question is, which file is it looking here for?..
--
View this message in context:
http://www.nabble.com/error-in-nsHandlerService.js-tp22290784p22290784.html
Sent from the Mozilla - Embedding mailing list archive at Nabble.com.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding