Error: missing ; after for-loop initializer

73 views
Skip to first unread message

gwt-noob

unread,
Mar 4, 2009, 8:54:23 PM3/4/09
to Google Web Toolkit
In the Firefox error console I see the error message:

Error: missing ; after for-loop initializer
Source File: <my host>.cache.html
Line: 42, Column: 167

I'm using GWT 1.5.3 and I looking around found a Fixed issue but the
link on GWT release notes is dead
http://code.google.com/webtoolkit/releases/release-notes-1.1.10.html
(issue 4927592)

Maybe something is still not fixed and I've run into it. Any help
would be appreciated.

FYI, the page loads fine in GWT shell but IE, Firefox and Chrome all
dont work.

Thanks!


That line in the GWT generated code is:

function cr(q,r){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,s,t;if
(200==r.a.status){t=r.a.responseText;o=(t2(),C4(u2,t));c=c4(new b4(),
(B4(),o.a.getElementsByTagNameNS(ri,ik)));this.a.c=nab(new mab());for
(i=0;i<c.a.length;++i){a=aq(new Ep());d=E3(f5(c.a,i));m=c4(new b4
(),d.a.childNodes);for(k=0;k<m.a.length;++k){p=E3(f5(m.a,k));if(j8
(p.a.nodeName,tk)){a.b=e4(c4(new b4(),p.a.childNodes),0).a.nodeValue}
else if(j8(p.a.nodeName,Ek)){s=c4(new b4(),p.a.childNodes);for
(l=0;l<s.a.length;++l){e=c4(new b4(),E3(f5(s.a,l)).a.childNodes);f=new
Ap();Fq(e,jl);f.b=Fq(e,vl);n=Fq(e,am);if(n==null)continue;n=n.substr
(0,n.length-4-0);n+=lm;f.a=n;oab(a.a,f)}}}oab(this.a.c,a)}CW
(this.a.d);for(b=B${new z${},this.a.c};b.a<b.b.Fb();){a=dy(E${b},
3);j=DV(new nV(),a.b);for(g=B${new z${},a.a};g.a<g.b.Fb();){f=dy(E${g},
4);h=DV(new nV(),f.b);fY(h,f.a);j.u(h)}EU(this.a.d.g,j)}
this.a.i.t.style.display=ul}else{$wnd.alert(wm+r.a.status)}aR
(this.a.e)}
Reply all
Reply to author
Forward
0 new messages