[gwt-contrib] Re: New Error caused by recent Chrome Update: RangeError: Maximum call stack size exceeded
Hi, I have also a large GWT application. Recently, a strange error does occur only with a recent Chrome (48 ?) : "com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'className' of null". To fix it, we just catch the exception silently... But i am a little worried about that, because i don't know what happen. We use GWT-2.5.1, without large GWT framework. Other GWT users have strange errors with recent versions of Chrome? Dominique. Le mercredi 16 décembre 2015 18:11:10 UTC+1, Joshb a écrit : > > Hi all. > > We have a fairly large GWT application (~20MB OBF). Recently (last week I > believe) we started to encounter a RangeError: Maximum call stack size > exceed in Chrome in our deployed application. The error does not occur in > FF or IE. I downloaded older versions of Chromium and confirmed that the > application still works, so I'm guessing there was a recent update to > Chrome (47) that caused the issue. > > There is no problem in SDM, and after playing around with the optimization > level, found that at level '0', the app loads. At 1-9, the exception is > thrown, and from what I can tell by setting a breakpoint on exception, it > does not appear to be too deep in a call stack. > > I realize that this is not a bug per-se of GWT, but I would think (hope) > that the GWT compiler could account for browser limitations when performing > optimizations, to not optimize otherwise working code into code that won't > run. > > Would love to supply more information if needed. I'm hoping others have > discovered the same issue, and that there is an easy solution that can > squeeze into the 2.8 release. > > Thanks in advance, > > Josh > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/038fc9ef-b090-4953-9d5a-8b77670582fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: New Error caused by recent Chrome Update: RangeError: Maximum call stack size exceeded
On Monday, February 8, 2016 at 5:25:37 PM UTC+1, Dominique L. wrote: > > Hi, > > I have also a large GWT application. Recently, a strange error does occur > only with a recent Chrome (48 ?) : > "com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read > property 'className' of null". > To fix it, we just catch the exception silently... But i am a little > worried about that, because i don't know what happen. > > We use GWT-2.5.1, without large GWT framework. > First thing I'd try is to update to GWT 2.7.0 (and plan an update to 2.8 when it's out). 2.5.1 is nearing 3 years old already (that's 22 versions of Chrome and counting!) -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/0d13630f-eb17-4880-8c68-6275793bfac7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: SuperDevMode & java long value in debugger
BTW, in GWT 2.8 (incl. beta1), I think longs use native JS Numbers when possible, and only resort to the "array-based emulation" for values outside the JS Number range (i.e. values that need more than 53bits). On Monday, February 8, 2016 at 3:22:34 PM UTC+1, Kirill Prazdnikov wrote: > > There is no such type long in JavaScript. > > On Thursday, February 4, 2016 at 10:56:05 AM UTC+3, Jack Thompson wrote: >> >> Hello, >> >> In SuperDevMode browser JS debugger console shows long values as JS >> object having properties l,h and m. >> >> Is there any convenient way to get the actual long value instead of >> having to use GWT.log in the actual java source? >> >> -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
TextBox fails to show updated text
Friends: I have been working with GWT for the past 18 months and I have been able to achieve considerably. A pilot version of my application is available at http://peruselab.com/. However, I landed in a major trouble with the code and I'm quite not sure how to resolve. To narrow down and focus on the crux of the issue I simplified the code as below. I have a UiBinder with the content and a snippet of the corresponding Java code: @UiField TextBox messageTextBox; public UserContent() { initWidget(uiBinder.createAndBindUi(this)); messageTextBox.setText("Message to user goes here"); } public void setMessage(String message) { *messageTextBox.setText(message); // fails to work.* } The last line of Java code in red seems like a very simple statement but fails to work. I even tried messageText.setValue(message) with no resolution. The textBox just couldn't be updated with a new message. I have tried stepping through the code in debug mode and found that the code indeed updates the TextBox. But the new value just doesn't show up in the UI. Does any one have any idea? Thanks Sam V -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: SuperDevMode & java long value in debugger
There is no such type long in JavaScript. On Thursday, February 4, 2016 at 10:56:05 AM UTC+3, Jack Thompson wrote: > > Hello, > > In SuperDevMode browser JS debugger console shows long values as JS object > having properties l,h and m. > > Is there any convenient way to get the actual long value instead of having > to use GWT.log in the actual java source? > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.