Version: LGPL 4.0d 2013-04-16
Browser: Firefox 20.0.1
I upgraded an existing project to SmartGWT 4.0d.
I've cleaned out the browser cache, removed war/sc/<project> and recompiled the project.
I'm using a fetchdata call from a rest datasource to seed a list of grids in a section stack.
The DSRequest is getting to the server and firebug confirms the server is sending back valid XML to the browser yet it doesn't get to the response object...
The messages in execute() never get posted to the dev console.
The Developer Console output
The stack trace
I believe the GWT plugin (1.20) is up to date.
Any suggestions on how to go about debugging this?
Browser: Firefox 20.0.1
I upgraded an existing project to SmartGWT 4.0d.
I've cleaned out the browser cache, removed war/sc/<project> and recompiled the project.
I'm using a fetchdata call from a rest datasource to seed a list of grids in a section stack.
The DSRequest is getting to the server and firebug confirms the server is sending back valid XML to the browser yet it doesn't get to the response object...
Code:
projDS.fetchData(null, new DSCallback() { public void execute(DSResponse response, Object rawData, DSRequest request) { System.out.println("In Project fetchData response."); Record[] recs = response.getData(); System.out.println("Project response length: "+ recs.length); for (Record project : response.getData()) { System.out.println("In LatestView loop - project: " + project.toString()); String side = project.getAttributeAsString("tbl_side"); if (side.equals("left")) { leftSection.add(project, new CellClicker()); } else { rightSection.add(project, new CellClicker()); } } } });
The Developer Console output
Code:
12:54:44.519:INFO:Log:initialized 12:54:46.155:WARN:Log:New Class ID: 'DataView' collides with ID of existing object with value 'function DataView() { [native code] }'. Existing object will be replaced. This conflict would be avoided by disabling ISC Simple Names mode. See documentation for further information. 12:54:46.412:INFO:Log:isc.Page is loaded 12:55:22.959:TMR9:WARN:Log:TypeError: _7 is null Stack from error.stack: DataSource._handleClientOnlyReply/_6() @ AfClone/sc/modules/ISC_DataBinding.js:501 DataSource._handleClientOnlyReply() @ AfClone/sc/modules/ISC_DataBinding.js:502 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:238 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:296 anonymous() @ AfClone/sc/modules/ISC_DataBinding.js:1230 $wnd.isc.RPCManager.fireReplyCallback() @ :249 [c]RPCManager.fireReplyCallbacks() @ AfClone/sc/modules/ISC_DataBinding.js:1231 [c]RPCManager.performOperationReply() @ AfClone/sc/modules/ISC_DataBinding.js:1230 RPCManager._performTransactionReply() @ AfClone/sc/modules/ISC_DataBinding.js:1226 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:238 Timer._fireTimeout() @ AfClone/sc/modules/ISC_Core.js:967 unnamed() @ AfClone/sc/modules/ISC_Core.js:963 unnamed() @
Code:
12:55:23.588 [ERROR] [AfClone] 12:55:22.959:TMR9:WARN:Log:TypeError: _7 is null Stack from error.stack: DataSource._handleClientOnlyReply/_6() @ AfClone/sc/modules/ISC_DataBinding.js:501 DataSource._handleClientOnlyReply() @ AfClone/sc/modules/ISC_DataBinding.js:502 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:238 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:296 anonymous() @ AfClone/sc/modules/ISC_DataBinding.js:1230 $wnd.isc.RPCManager.fireReplyCallback() @ :249 [c]RPCManager.fireReplyCallbacks() @ AfClone/sc/modules/ISC_DataBinding.js:1231 [c]RPCManager.performOperationReply() @ AfClone/sc/modules/ISC_DataBinding.js:1230 RPCManager._performTransactionReply() @ AfClone/sc/modules/ISC_DataBinding.js:1226 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:238 Timer._fireTimeout() @ AfClone/sc/modules/ISC_Core.js:967 unnamed() @ AfClone/sc/modules/ISC_Core.js:963 unnamed() @ com.smartgwt.client.core.JsObject$SGWT_WARN: 12:55:22.959:TMR9:WARN:Log:TypeError: _7 is null Stack from error.stack: DataSource._handleClientOnlyReply/_6() @ AfClone/sc/modules/ISC_DataBinding.js:501 DataSource._handleClientOnlyReply() @ AfClone/sc/modules/ISC_DataBinding.js:502 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:238 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:296 anonymous() @ AfClone/sc/modules/ISC_DataBinding.js:1230 $wnd.isc.RPCManager.fireReplyCallback() @ :249 [c]RPCManager.fireReplyCallbacks() @ AfClone/sc/modules/ISC_DataBinding.js:1231 [c]RPCManager.performOperationReply() @ AfClone/sc/modules/ISC_DataBinding.js:1230 RPCManager._performTransactionReply() @ AfClone/sc/modules/ISC_DataBinding.js:1226 [c]Class.fireCallback() @ AfClone/sc/modules/ISC_Core.js:238 Timer._fireTimeout() @ AfClone/sc/modules/ISC_Core.js:967 unnamed() @ AfClone/sc/modules/ISC_Core.js:963 unnamed() @ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) 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:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) at java.lang.Thread.run(Unknown Source)
Any suggestions on how to go about debugging this?
Comment