OpenLayers OpenLayers

Ticket #485 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

null pointer exception on CTRL+F5 in IE for WMS.Untiled

Reported by: bartvde Assigned to: crschmidt
Priority: minor Milestone: 2.3 Release
Component: Layer.UntiledWMS Version: 2.3 RC2
Keywords: Cc:
State:

Description

When doing a hard reload of the browser page in IE, the following exception comes up occassionally:

this.tile is empty or not an object

Debugging brings us to the destroy function of the Untiled.js, so I think it's wise to add a check there:

destroy: function() {

if (this.tile) {

this.tile.destroy(); this.tile = null;

} OpenLayers.Layer.HTTPRequest.prototype.destroy.apply(this, arguments);

},

Will attach a patch.

Attachments

Untiled.patch (427 bytes) - added by bartvde on 01/29/07 02:51:07.
patch adding null check for this.tile

Change History

01/29/07 02:51:07 changed by bartvde

  • attachment Untiled.patch added.

patch adding null check for this.tile

02/16/07 10:35:19 changed by euzuro

  • keywords set to pullup.

added to trunk with r2226 -- thanks bart!

02/16/07 13:31:16 changed by sderle

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.