Hi,
I've started using Calendar from SmartGWT 2.4
During same testing I've seen random unusual exception. Unfortunately it appears after some time from starting calendar on random situations.
I couldn't make a test case because of that. When I refresh and try to do exact same thing that caused last exception it works fine.
I'm using simple Calendar configuration with a DataSource bounded.
But I'm not sure it's caused directly by Calendar because of this message: "this.mainView is undefined".
Any suggestions??
Thanks for any help
Best regards
I've started using Calendar from SmartGWT 2.4
During same testing I've seen random unusual exception. Unfortunately it appears after some time from starting calendar on random situations.
I couldn't make a test case because of that. When I refresh and try to do exact same thing that caused last exception it works fine.
I'm using simple Calendar configuration with a DataSource bounded.
But I'm not sure it's caused directly by Calendar because of this message: "this.mainView is undefined".
Code:
19:24:18.032:XRP7:WARN:Log:TypeError: this.mainView is undefined Calendar.dayViewSelected() Calendar.refreshSelectedView() Calendar.dataChanged() anonymous("update", {Obj}, 1, [object Array], undef) ResultSet._doneChangingData() ResultSet.handleUpdate(_1=>"update", _2=>[object Array], _3=>undef, _4=>{Obj}) ResultSet.dataSourceDataChanged(_1=>{Obj}, _2=>{Obj}) anonymous({Obj}, {Obj}) DataSource.updateCaches(_1=>{Obj}, _2=>{Obj}) [c]DataSource.handleUpdate(_1=>{Obj}, _2=>{Obj}) DataSource.fireResponseCallbacks({Obj}, {Obj}, {Obj}, {Obj}) DataSource._completeResponseProcessing({Obj}, {Obj}, {Obj}, {Obj}, {Obj}) DataSource._handleJSONReply({Obj}, [object Array], {Obj}) unnamed({Obj}, "{\"response\":{\"status\":0,\"startRow\..."[ 273], {Obj}) [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array], _4=>{Obj}, _5=>undef) [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array]) anonymous(callback=>{Obj}, request=>{Obj}, response=>{Obj}, data=>"{\"response\":{\"status\":0,\"startRow\..."[ 273]) unnamed({Obj}, {Obj}, {Obj}, "{\"response\":{\"status\":0,\"startRow\..."[ 273]) [c]RPCManager.fireReplyCallbacks(_1=>{Obj}, _2=>{Obj}) [c]RPCManager.performOperationReply(_1=>{Obj}, _2=>{Obj}) RPCManager._performTransactionReply(11) [c]RPCManager.performTransactionReply(_1=>11, _2=>"{\"response\":{\"status\":0,\"startRow\..."[ 273], _3=>undef) anonymous(11, [object XMLHttpRequest]) [c]Class.fireCallback(_1=>"isc.RPCManager.performTransactionReply(..."[ 67], _2=>"transactionNum,results,wd", _3=>[object Array]) [c]Comm.performXmlTransactionReply(_1=>11, _2=>[object XMLHttpRequest]) anonymous([object XMLHttpRequest]) [c]Class.fireCallback(_1=>"isc.Comm.performXmlTransactionReply(11,..."[ 57], _2=>"xmlHttpRequest", _3=>[object Array], _4=>[object XPCCrossOriginWrapper], _5=>true) Comm._fireXMLCallback([object XMLHttpRequest], "isc.Comm.performXmlTransactionReply(11,..."[ 57]) unnamed([object Event]) unnamed() com.smartgwt.client.core.JsObject$SGWT_WARN: 19:24:18.032:XRP7:WARN:Log:TypeError: this.mainView is undefined Calendar.dayViewSelected() Calendar.refreshSelectedView() Calendar.dataChanged() anonymous("update", {Obj}, 1, [object Array], undef) ResultSet._doneChangingData() ResultSet.handleUpdate(_1=>"update", _2=>[object Array], _3=>undef, _4=>{Obj}) ResultSet.dataSourceDataChanged(_1=>{Obj}, _2=>{Obj}) anonymous({Obj}, {Obj}) DataSource.updateCaches(_1=>{Obj}, _2=>{Obj}) [c]DataSource.handleUpdate(_1=>{Obj}, _2=>{Obj}) DataSource.fireResponseCallbacks({Obj}, {Obj}, {Obj}, {Obj}) DataSource._completeResponseProcessing({Obj}, {Obj}, {Obj}, {Obj}, {Obj}) DataSource._handleJSONReply({Obj}, [object Array], {Obj}) unnamed({Obj}, "{\"response\":{\"status\":0,\"startRow\..."[ 273], {Obj}) [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array], _4=>{Obj}, _5=>undef) [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array]) anonymous(callback=>{Obj}, request=>{Obj}, response=>{Obj}, data=>"{\"response\":{\"status\":0,\"startRow\..."[ 273]) unnamed({Obj}, {Obj}, {Obj}, "{\"response\":{\"status\":0,\"startRow\..."[ 273]) [c]RPCManager.fireReplyCallbacks(_1=>{Obj}, _2=>{Obj}) [c]RPCManager.performOperationReply(_1=>{Obj}, _2=>{Obj}) RPCManager._performTransactionReply(11) [c]RPCManager.performTransactionReply(_1=>11, _2=>"{\"response\":{\"status\":0,\"startRow\..."[ 273], _3=>undef) anonymous(11, [object XMLHttpRequest]) [c]Class.fireCallback(_1=>"isc.RPCManager.performTransactionReply(..."[ 67], _2=>"transactionNum,results,wd", _3=>[object Array]) [c]Comm.performXmlTransactionReply(_1=>11, _2=>[object XMLHttpRequest]) anonymous([object XMLHttpRequest]) [c]Class.fireCallback(_1=>"isc.Comm.performXmlTransactionReply(11,..."[ 57], _2=>"xmlHttpRequest", _3=>[object Array], _4=>[object XPCCrossOriginWrapper], _5=>true) Comm._fireXMLCallback([object XMLHttpRequest], "isc.Comm.performXmlTransactionReply(11,..."[ 57]) unnamed([object Event]) unnamed() at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:619)
Thanks for any help
Best regards
Comment