Environment
SmartGWT version 4.0p EE (trial)
BTW: Still waiting for any information about my Power version order nad Power version link on your side is not wotking
Browser: Firefox 25.0.1
System: Win 7, Win 8
Calling the getCriteria() or even adding FilterBuilder object to a layout causes an wierd exeption. But actually not all methods called on an object of this class causes this error. For Example addPrompt("") works fine.
"_3 is null" or "_3 is undefined"
I had a similar problem in 3.1p but was surprisingly able to fix it with a delay on member add. But now nothing is working.
Simple Example in onModuleLoad() :
I
SmartGWT version 4.0p EE (trial)
BTW: Still waiting for any information about my Power version order nad Power version link on your side is not wotking
Browser: Firefox 25.0.1
System: Win 7, Win 8
Calling the getCriteria() or even adding FilterBuilder object to a layout causes an wierd exeption. But actually not all methods called on an object of this class causes this error. For Example addPrompt("") works fine.
"_3 is null" or "_3 is undefined"
I had a similar problem in 3.1p but was surprisingly able to fix it with a delay on member add. But now nothing is working.
Simple Example in onModuleLoad() :
I
Code:
com.google.gwt.core.client.JavaScriptException: (TypeError) @com.smartgwt.client.widgets.form.FilterBuilder::create()([]): _3 is null at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.smartgwt.client.widgets.form.FilterBuilder.create(FilterBuilder.java) at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:469) at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1263) at com.evizone.rbp.ui.client.Com_evizone_rbp_UI.onModuleLoad(Com_evizone_rbp_UI.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:406) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364) at java.lang.Thread.run(Thread.java:724)
Code:
public void onModuleLoad() { VLayout layout = new VLayout(); try { FilterBuilder filter = new FilterBuilder(); filter = new FilterBuilder(); layout.addMember(filter); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } }
Code:
public void onModuleLoad() { try { FilterBuilder filter = new FilterBuilder(); filter = new FilterBuilder(); filter.getCriteria(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } }
Comment