Skip to main content

Bug Tracker

Side navigation

#14642 closed bug (notabug)

Opened December 19, 2013 02:17PM UTC

Closed December 19, 2013 06:56PM UTC

Last modified March 21, 2014 04:01PM UTC

Cannot read property 'style' of undefined

Reported by: bernardo Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

On my system I put a window.onerror to monitor errors that could be giving to users.

window.onerror = function(m, u, l){

jQuery.post('sendMail.php', ....)

jQuery.dialog ....

});

Once you have done this many errors were reported, however one very often and without explanation.

Uncaught TypeError: Cannot read property 'style' of undefined

Stack Trace

e.getComputedStyle.Wt@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:11:4019

Function.b.extend.css@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:11:3628

ln@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:11:5774

un@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:11:5414

rn@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:11:1952

b.fn.extend.show@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:11:2444

b.fn.(anonymous function) [as show]@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:13:7468

c.widget._create@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:36:5974

null._create@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:20:2079

d.Widget._createWidget@http://nichele.e-login.net/versoes/versao3.3/js/jquery.js:20:4098

Attachments (0)
Change History (2)

Changed December 19, 2013 06:56PM UTC by timmywil comment:1

resolution: → notabug
status: newclosed

Please ask for help on stackoverflow, the jQuery forums, or in the #jquery irc channel.

Changed March 21, 2014 04:01PM UTC by Septi comment:2

Please don't disregard this as "Not a bug". It's a very real error, that seems to be browser-specific (I get it in Chrome and IE, but never get in Firefox) and difficult to reproduce - it happens in the most annoyingly inconsistent way. I failed so far toof figure out why does it happen in the first place, but it *seems* to have something to do with animations. If I manage to get a (unminified?) stack trace, I'll put it here, but that might be difficult in my case.