Uncaught errors WAS8 + Chrome [message #1259322] |
Fri, 28 February 2014 08:54 |
|
Slightly odd problem that perhaps someone has an idea about...
A customer of ours has put together a very simple calculator application and deployed it as a WAR to WebSphere 8, and this application works ok on IE8 and FF but they just get the grey shaded RAP background and a couple of errors in the Chrome console when using Chrome:
However, it works ok on our WAS8 server with IE, FF and Chrome.
Do the messages at the bottom give any clues as to what has gone wrong in the RAP client JS?
Thanks, John
---
Just because you can doesn't mean you should
|
|
|
Re: Uncaught errors WAS8 + Chrome [message #1263317 is a reply to message #1259322] |
Tue, 04 March 2014 11:18 |
Tim Buschtoens Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Hi.
Hard to say, the error message is actually kind of mystifying. There are
a few lines in the code that could cause this:
var language = ( this._engineName.indexOf( "mshtml" ) !== -1 )
? navigator.userLanguage
: navigator.language;
var browserLocale = language.toLowerCase();
But I don' see why navigator.language should be undefined, and it
doesn't explain why there isn't a proper error message on screen. Is
there any custom javascript involved? (Custom widget, HTML added to the
documents head or body, things done by JavaScriptExecuter, Client
Scripting, etc...)
It could also be interesting to see the network protocol. You can save
it in chrome by right-clicking into the network tab.
Greetings,
Tim
Am 28.02.2014 09:54, schrieb John Gymer:
> Slightly odd problem that perhaps someone has an idea about...
> A customer of ours has put together a very simple calculator application and deployed it as a WAR to WebSphere 8, and this application works ok on IE8 and FF but they just get the grey shaded RAP background and a couple of errors in the Chrome console when using Chrome:
>
>
>
> However, it works ok on our WAS8 server with IE, FF and Chrome.
>
> Do the messages at the bottom give any clues as to what has gone wrong in the RAP client JS?
>
> Thanks, John
>
--
Tim Buschtöns
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.03973 seconds