开发者

GWT in IE8 - Exception thrown and not caught in file *cache.html & but after reloading the page it works

开发者 https://www.devze.com 2023-04-10 00:39 出处:网络
开发者_如何学JAVAI was reading some posts about this error but it looks like that none of them have the same error.
开发者_如何学JAVA

I was reading some posts about this error but it looks like that none of them have the same error. My application runs perfectly in chrome and firefox but today I got shocked when I realized that it didn't work in IE8.

Now comes the really fun part. When I access the application with IE8, I just see a blank page (and the sign indicating an error at the bottom left), but when I refresh the website it works!!

So I think it must be something with the cache of IE. Because when I clear the cache, then it works for one time. When I enter the address in the browser again, it doesn't work anymore. After reloading the page it works again.

I found out that the problem should be something with RPC calls. So if a RPC call is being executed I get the java script error. Then I reload the the site and execute the RPC call again => it works. I hope someone can help me further.


So after all it looks like that using the slider of the jquery library produces the whole problem. Maybe jquery throws the exception but it get's handled when a RPC call is done... Furthermore it looks like that when jquery is being cached by the browser it produces the error.

So after days of figuring out a solution I replaced the handsome jquery slider with a smartgwt slider.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号