java - Vaadin version upgrade to 7.4.6 leads to a error "typeerror cannot read property 'noLayout' of undefined" -
my application working fine vaadin version 7.3.6. upgraded version 7.4.8 , application running issue, throws "typeerror cannot read property 'nolayout' of undefined".
i noticed error message visible on chrome browser in ie11 , firefox i'm not able see error message, problem persists in browsers.
error message :-
fri jun 19 11:05:56 gmt+530 2015 com.vaadin.client.applicationconnection severe: error updating connector statescom.google.gwt.core.client.javascriptexception: (typeerror) : cannot read property 'nolayout' of undefined 
sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * handling type inheritance map server sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: handling type mappings server sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: handling resource dependencies sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * handling meta information sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * creating connectors (if needed) sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * updating connector states sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection severe: error updating connector statescom.google.gwt.core.client.javascriptexception: (typeerror) : cannot read property 'nolayout' of undefined @ unknown.kbc(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.abc(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.lac(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.jac(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.gnc(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.eval(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.hg(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.kg(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown.eval(com.xyz.na.myapp.application.widgetset.myappwidgetset-0.js) @ unknown._f(http://localhost:19080/myapp/vaadin/vaadinpush.debug.js?v=7.4.8)
sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * handling locales sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * updating connector hierarchy sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * running @delegatetowidget sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * sending state change events sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * passing uidl vaadin 6 style connectors sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection info: * performing server client rpc calls sun jun 21 17:37:45 gmt+530 2015 com.vaadin.client.applicationconnection
i doubt that, nolayout exception being thrown com.vaadin.client.applicationconnection class below code.
if (onlynolayoutupdates) { profiler.enter("updateconnectorstate @nolayout handling"); (string propertyname : statejson.keys()) { property property = statetype .getproperty(propertyname); if (!property.isnolayout()) { onlynolayoutupdates = false; break; } } profiler.leave("updateconnectorstate @nolayout handling"); } i'm continuously trying debug code somehow can sure problem, no luck yet. have clue ?
open vaadin debug window addding ?debug url , check there both client , server using same vaadin version. client side still using version 7.3.6.
if have own widgetset in use, must recompile fix problem.
Comments
Post a Comment