This is an interesting one. Please keep the list informed on what you'll find out. Thanks. Eric
2008/10/23, Greg Ederer <[EMAIL PROTECTED]>: > Hi Zac, > > Try removing OpenLayers.Event.stop(evt) at the end of your event handler > method body. This seems to have fixed the problem (though, I have no idea > why). I may go digging into the sources to figure it out. Please let me > know if this works for you. > > Anyone have a clue? > > Cheers, > > Greg > > Zac Spitzer wrote: >> >> I am also seeing exactly the same problem, first click error, >> subsequent ones work >> >> On Thu, Oct 23, 2008 at 11:26 AM, Greg Ederer <[EMAIL PROTECTED]> wrote: >> >>> >>> Here's line 224 expanded: >>> >>> 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); >>> } >>> } >>> } >>> >>> I'm not using Gears. Not sure what's causing this. >>> >>> Greg >>> >>> Greg Ederer wrote: >>> >>> The exception is traceable to OpenLayers.js (2.7) line 224: >>> >>> 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);}}} >>> >>> Any ideas? >>> >>> Cheers, >>> >>> Greg >>> >>> Greg Ederer wrote: >>> >>> Huh. I fixed the URL, and I still get the exception on the first click. >>> >>> Greg Ederer wrote: >>> >>> I solved this. Bad wms URL. >>> >>> Cheers, >>> >>> Greg >>> >>> >>> Greg Ederer wrote: >>> >>> >>> 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 :: >>> http://localhost:8080/EWX/scripts/OpenLayers-2.7/OpenLayers.js :: >>> anonymous :: line 440" data: no] >>> http://localhost:8080/EWX/scripts/OpenLayers-2.7/OpenLayers.js >>> 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 >>> >>> >>> >>> >>> >>> >>> -- >>> | E R G O N O S I S >>> | Greg Ederer >>> | Lead Developer >>> | [EMAIL PROTECTED] >>> | 360.774.6848 >>> | >>> >>> ________________________________ >>> _______________________________________________ >>> Users mailing list >>> Users@openlayers.org >>> http://openlayers.org/mailman/listinfo/users >>> >>> >>> -- >>> | E R G O N O S I S >>> | Greg Ederer >>> | Lead Developer >>> | [EMAIL PROTECTED] >>> | 360.774.6848 >>> | >>> >>> ________________________________ >>> _______________________________________________ >>> Users mailing list >>> Users@openlayers.org >>> http://openlayers.org/mailman/listinfo/users >>> >>> >>> -- >>> | E R G O N O S I S >>> | Greg Ederer >>> | Lead Developer >>> | [EMAIL PROTECTED] >>> | 360.774.6848 >>> | >>> >>> _______________________________________________ >>> Users mailing list >>> Users@openlayers.org >>> http://openlayers.org/mailman/listinfo/users >>> >>> >>> >> >> >> > > > > -- > | E R G O N O S I S > | Greg Ederer > | Lead Developer > | [EMAIL PROTECTED] > | 360.774.6848 > | _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users