Does anyone know which method/panel I should be using?
On Jan 27, 10:01 pm, Jason Essington <[email protected]> wrote: > What ever type of panel you are attempting to add a widget to, hasn't > overriden the .add(Widget child) method from Panel, so it is throwing > this exception. perhaps there is a different method that you are > supposed to use to add widgets to your panel? > > -jason > > On Jan 27, 2009, at 2:40 PM, [email protected] wrote: > > > > > Hi, > > > I am receiving the following error message when I try to add a new > > item to a database: > > > [ERROR] Uncaught exception escaped > > java.lang.UnsupportedOperationException: This panel does not support > > no-arg add() > > at com.google.gwt.user.client.ui.Panel.add(Panel.java:66) > > at com.project.client.EditItemsGUI$2.onSuccess(EditItemsGUI.java:220) > > at > > com > > .google > > .gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived > > (RequestCallbackAdapter.java:215) > > at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl > > (Request.java:254) > > at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch > > (Request.java:226) > > at com.google.gwt.http.client.Request.fireOnResponseReceived > > (Request.java:217) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: > > 103) > > at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod > > (IDispatchImpl.java:126) > > at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke > > (IDispatchProxy.java:155) > > at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke > > (IDispatchImpl.java:294) > > at com.google.gwt.dev.shell.ie.IDispatchImpl.method6 > > (IDispatchImpl.java:194) > > at org.eclipse.swt.internal.ole.win32.COMObject.callback6 > > (COMObject.java:117) > > at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) > > at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) > > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) > > at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720) > > at com.google.gwt.dev.GWTShell.run(GWTShell.java:593) > > at com.google.gwt.dev.GWTShell.main(GWTShell.java:357) > > > It actually adds the item to the database, it just doesnt show up > > unless I restart the application. Please can someone help? > > > Regards, > > Jack --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
