Wednesday, January 30, 2013

Re: Compiling for IE8

The skype browser plugin adds additional <style> tags to the page, and mess up StyleInjectorImplIE's assumption that no one else is spitting out style elements. SnagIt used to (and may still) cause exceptions in various IE versions when some elements resize/reflow (I never nailed down exactly what did that, just worked around it). Check what plugins/extensions/BHOs are installed, and see if disabling any/all of them fix the issue.

GWT.setUncaughtExceptionHandler will not be informed of any errors that happen during onModuleLoad - some people deal with this by deferring most of onModuleLoad, others by wrapping it up with a try/catch with some specific handling for that startup method.

On Wednesday, January 30, 2013 8:09:12 AM UTC-6, Luca Morettoni wrote:
I have that as the first line of my code, but the server don't receive
any line to log.
I think there is some "strange" think on that IE installation that
produce that error on the client.

On Wed, Jan 30, 2013 at 2:56 PM, Thomas Broyer <t.br...@gmail.com> wrote:
>
>
> On Wednesday, January 30, 2013 8:59:29 AM UTC+1, Luca Morettoni wrote:
>>
>> On Thu, Jan 17, 2013 at 9:08 AM, Thomas Broyer <t.br...@gmail.com> wrote:
>> >> I've got a fairly complex RIA application involving GWT 2.5 and GXT
>> >> 3.0.1,
>> >> and I noticed that changing compiler flags (like optimization level)
>> >> doesn't
>> >> improve (and even degrades) performance in IE8.
>> >> So, could anyone help me out: what are the best compiler settings for
>> >> performance in IE8 in production mode.
>>
>> About IE8 browser, I have a GWT application that work fine under IE8,
>> and crash in another PC with the same version of IE and O.S.
>> The problem comes when the browser start to load the initial
>> application page, and the error is:
>>
>> Message: Exception thrown and not caught
>> Line: 4239
>> Char: 150
>> Code: 0
>>
>> any idea/hint? I can't debug directly into the customer browser... :(
>
>
> Try adding a GWT.UncaughtExceptionHandler that possibly sends the error up
> to the server (have a look at
> https://developers.google.com/web-toolkit/doc/latest/DevGuideLogging#Remote_Logging
> or
> http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/HttpThrowableReporter.html#installUncaughtExceptionHandler(java.lang.String))
> See also http://msdn.microsoft.com/en-us/library/ie/w4e7h3yz(v=vs.94).aspx
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscribe@googlegroups.com.
>
> To post to this group, send email to google-we...@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
Google+ profile: http://bit.ly/morettoni_plus
Member of GDG Perugia: http://perugia.gtugs.org

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment