[OpenLayers-Users] fix for NS_ERROR_NOT_INITIALIZED
Bart van den Eijnden
bartvde at osgis.nl
Mon Dec 7 13:55:27 EST 2009
Hi Pascal,
can you please open a ticket in the OpenLayers Trac and attach your patch there?
This seems similar to the error on read which already has a ticket, but your case involves write:
http://trac.openlayers.org/ticket/2065
Best regards,
Bart
On Dec 7, 2009, at 7:47 PM, Pascal Martin wrote:
> Hi y receive this error in FireBug
>
> uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: http://192.168.5.168:8081/gp/lib/MF-r3260_OL-r9850_GeoEXT-r1537/MF_OL_GeoEXT.js :: anonymous :: line 1469" data: no]
>
> Y fix the error by replace "this._object.send(vData);" with "if (!this._aborted)this._object.send(vData);" in openlayers-trunk\lib\OpenLayers\Request\XMLHttpRequest.js
>
> Can you put this fix in truck ?
>
>
>
> Index: XMLHttpRequest.js
> ===================================================================
> --- XMLHttpRequest.js (révision 9859)
> +++ XMLHttpRequest.js (copie de travail)
> @@ -197,7 +197,8 @@
> this._object.setRequestHeader("Content-Type", "application/xml");
> }
>
> - this._object.send(vData);
> + if (!this._aborted)this._object.send(vData);
> + this._object.send(vData);
>
> // BUGFIX: Gecko - missing readystatechange calls in synchronous requests
> if (bGecko && !this._async) {
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091207/727349dc/attachment.html
More information about the Users
mailing list