Reputation: 9439
I'm writing a Windows 8 app using Javascript. I got this problem when testing my app using Windows 8 emulator. This seems a bug of ui.js.
Exception was thrown but not handled in user code at line 22600, column 25 in ms-appx://microsoft.winjs.1.0.rc/js/ui.js
0x800a138f - JavaScript runtime error: Unable to get property 'style' of undefined or null reference
If there is a handler for this exception, the program may be safely cont
It points to this line.
that._viewport.style.opacity = 1.0;
Console log
SCRIPT5007: Exception was thrown but not handled in user code at line 22600, column 25 in ms-appx://microsoft.winjs.1.0.rc/js/ui.js
0x800a138f - JavaScript runtime error: Unable to get property 'style' of undefined or null reference
File: ui.js, line: 22600 column: 25
Update: Today 2012/08/09. When I run my app, it generates one more strange error in jquery.js and ui.js. What's wrong with them???
'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/1.0)'.
Exception was thrown at line 5200, column 4 in ms-appx://7034140f-baab-4c76-b27c-2a4c76641550/js/jquery.js
0x800a139e - JavaScript runtime error: SyntaxError
Exception was thrown at line 28908, column 30 in ms-appx://microsoft.winjs.1.0.rc/js/ui.js
0x80004005 - JavaScript runtime error: Incorrect function.
Upvotes: 0
Views: 2758
Reputation: 45173
Sadly, this is a known bug in WinJS in the RC build of Windows 8. The good news is that the bug is fixed in the RTM build.
Upvotes: 1