Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#14642 closed bug (notabug)

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

Change History (2)

comment:1 Changed 6 years ago by timmywil

Resolution: notabug
Status: newclosed

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

comment:2 Changed 6 years ago by Septi

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.

Note: See TracTickets for help on using tickets.