Hi All,
I am developing an application using GWT in version 2.5.1.
Few days ago we found in our logs that there is a huge amount of exceptions
(few per second!!!) that look as follows:
Nov 5, 2014 6:00:45 PM com.google.gwt.logging.server.
RemoteLoggingServiceUtil logOnServer
SEVERE: (NS_ERROR_NOT_INITIALIZED) :
com.google.gwt.core.client.impl.SerializableThrowable$ThrowableWithClassName
: (NS_ERROR_NOT_INITIALIZED) :
at Unknown.ZHe(StackTraceCreator.java:174)
at Unknown.WFe(StackTraceCreator.java:508)
at Unknown.IHf(Exceptions.java:29)
at Unknown.pIb(XMLHttpRequest.java:164)
at Unknown.OMe(RequestBuilder.java:411)
at Unknown.anonymous(XMLHttpRequest.java:351)
at Unknown.gHe(Impl.java:189)
at Unknown.jHe(Impl.java:243)
at Unknown.anonymous(Impl.java:70)
At least in two cases the problem happened when the application was used
from Mozilla Firefox web browser. To stop that, it was not enough to close
the browser, but also to kill process from the Task Manager. But I am not
sure if it couldn't be triggered also by another browser.
I also found this comment in the com.google.gwt.http.client.Request class,
method cancel():
/*
* There is a strange race condition that occurs on Mozilla when you
cancel
* a request while the response is coming in. It appears that in some
cases
* the onreadystatechange handler is still called after the handler
function
* has been deleted and during the call to XmlHttpRequest.abort(). So we
* null the xmlHttpRequest here and that will prevent the
* fireOnResponseReceived method from calling the callback function.
*
* Setting the onreadystatechange handler to null gives us the correct
* behavior in Mozilla but crashes IE. That is why we have chosen to
fixed
* this in Java by nulling out our reference to the XmlHttpRequest
object.
*/
I don't have knowledge about how requests are working but I am wondering if
new releases of Mozilla Firefox didn't cause that above solution doesn't
work in some cases.
Do you have an idea what is the source of the problem and could you please
give us any advice how to solve this issue or maybe some workaround how to
deal with it?
Thank you in advance!
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.