<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Here's line 224 expanded:<br>
<br>
var factory=null;<br>
if(typeof GearsFactory!='undefined')<br>
{<br>
factory=new GearsFactory();<br>
}<br>
else<br>
{<br>
try<br>
{<br>
factory=new ActiveXObject('Gears.Factory');<br>
if(factory.getBuildInfo().indexOf('ie_mobile')!=-1)<br>
{<br>
factory.privateSetGlobalObject(this);<br>
}<br>
}<br>
catch(e)<br>
{<br>
if((typeof
navigator.mimeTypes!='undefined')&&navigator.mimeTypes["application/x-googlegears"]){<br>
factory=document.createElement("object");<br>
factory.style.display="none";<br>
factory.width=0;<br>
factory.height=0;<br>
factory.type="application/x-googlegears";<br>
document.documentElement.appendChild(factory);<br>
}<br>
}<br>
}<br>
<br>
I'm not using Gears. Not sure what's causing this.<br>
<br>
Greg<br>
<br>
Greg Ederer wrote:
<blockquote cite="mid:48FFC166.3070506@ergonosis.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
The exception is traceable to OpenLayers.js (2.7) line 224:<br>
<br>
var factory=null;if(typeof GearsFactory!='undefined'){factory=new
GearsFactory();}else{try{factory=new
ActiveXObject('Gears.Factory');if(factory.getBuildInfo().indexOf('ie_mobile')!=-1){factory.privateSetGlobalObject(this);}}catch(e){if((typeof
navigator.mimeTypes!='undefined')&&navigator.mimeTypes["application/x-googlegears"]){factory=document.createElement("object");factory.style.display="none";factory.width=0;factory.height=0;factory.type="application/x-googlegears";document.documentElement.appendChild(factory);}}}<br>
<br>
Any ideas?<br>
<br>
Cheers,<br>
<br>
Greg<br>
<br>
Greg Ederer wrote:
<blockquote cite="mid:48FFC051.10003@ergonosis.com" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Huh. I fixed the URL, and I still get the exception on the first
click. <br>
<br>
Greg Ederer wrote:
<blockquote cite="mid:48FFBE77.90100@ergonosis.com" type="cite">
<pre wrap="">I solved this. Bad wms URL.
Cheers,
Greg
Greg Ederer wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I got the following exception:
uncaught exception: [Exception... "Illegal operation on WrappedNative
prototype object" nsresult: "0x8057000c
(NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame ::
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://localhost:8080/EWX/scripts/OpenLayers-2.7/OpenLayers.js">http://localhost:8080/EWX/scripts/OpenLayers-2.7/OpenLayers.js</a> ::
anonymous :: line 440" data: no]
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://localhost:8080/EWX/scripts/OpenLayers-2.7/OpenLayers.js">http://localhost:8080/EWX/scripts/OpenLayers-2.7/OpenLayers.js</a>
Line 224
when executing the following code:
OpenLayers.loadURL(this.map.parentFrame.wmsUrl, params, this,
this.launchTimeSeries, this.launchTimeSeries);
I only get the exception the first few times this method is called
(within an OpenLayers.Control.Click click handler).
this.launchTimeSeries does get called even when I get the exception.
Any thoughts?
Cheers,
Greg
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:greg@ergonosis.com">greg@ergonosis.com</a>
| 360.774.6848
|</pre>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:greg@ergonosis.com">greg@ergonosis.com</a>
| 360.774.6848
|</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| <a class="moz-txt-link-abbreviated" href="mailto:greg@ergonosis.com">greg@ergonosis.com</a>
| 360.774.6848
|</pre>
</body>
</html>