On 20 January 2012 11:42, Samuel Tasna <[email protected]> wrote: > ***** > > The problem I have is with the persistence, before developing > a small application starts using Netbeans, GWT 2.1, 0.5 gwtp all, hibernate, > as the tool develops andofficial IDE is eclipse wanted to migrate the code > to eclipse, there is now GWT2.4but this persistent problem, > no connection to the db, setting, copying sample codenow makes the > connection to hang appeared the WARN db and send it. > Now the problem is that data are not displayed any error does not come > out and thought it was for the WARN. 19/01/2012 but yesterday I discovered > that if you make the connection but no where is the error, plus I can > not migrate a portion of code above q is the menu bar on the main > screen gives me an error that is: > Error loading menu: > > (as history was developing an architecture for developing application (XXX) > that is to create a generic class, etc ...) > I would appreciate if I can help > > 14:32:28.546 [ERROR] [com.wipay.esafw] Uncaught exception escaped > com.google.gwt.event.shared.UmbrellaException: One or more exceptions > caught, see full set in UmbrellaException#getCauses > at > com.google.gwt.event.shared.EventBus.castFireEventFromSource(EventBus.java:77) > at > com.google.gwt.event.shared.SimpleEventBus.fireEventFromSource(SimpleEventBus.java:67) > at > com.gwtplatform.mvp.client.PresenterWidget.fireEvent(PresenterWidget.java:254) > at > com.gwtplatform.mvp.client.proxy.RevealRootContentEvent.fire(RevealRootContentEvent.java:51) > at > com.wipay.esafw.client.presenter.esafwapp.EsafwAppP.revealInParent(EsafwAppP.java:85)
This is your first clue (it also appears in the second stack trace). > at com.gwtplatform.mvp.client.Presenter.forceReveal(Presenter.java:189) > at > com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract.manualReveal(ProxyPlaceAbstract.java:227) > at > com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract$3$1.execute(ProxyPlaceAbstract.java:213) > at > com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50) > at > com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:228) > at > com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:388) > at > com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78) > at > com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:138) > 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.MethodDispatch.invoke(MethodDispatch.java:71) > at > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) > at > com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) > at > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) > at > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) > at > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) > at com.google.gwt.core.client.impl.Impl.apply(Impl.java) > at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) > at sun.reflect.GeneratedMethodAccessor34.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.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:292) > at > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) > at > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) > at java.lang.Thread.run(Unknown Source) > Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): > Cannot read property 'length' of undefined This is your second clue. > at > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) > at > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289) > at > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107) > at com.smartgwt.client.widgets.BaseWidget.draw(BaseWidget.java) > at > com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:289) > at > com.smartgwt.client.widgets.BaseWidget.getElement(BaseWidget.java:261) > at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:94) > at > com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:97) > at > com.gwtplatform.mvp.client.RootPresenter$RootView.setInSlot(RootPresenter.java:98) > at > com.gwtplatform.mvp.client.PresenterWidget.setInSlot(PresenterWidget.java:351) > at > com.gwtplatform.mvp.client.PresenterWidget.setInSlot(PresenterWidget.java:313) > at > com.gwtplatform.mvp.client.RootPresenter.onRevealRootContent(RootPresenter.java:174) > at > com.gwtplatform.mvp.client.proxy.RevealRootContentEvent.dispatch(RevealRootContentEvent.java:75) > at > com.gwtplatform.mvp.client.proxy.RevealRootContentEvent.dispatch(RevealRootContentEvent.java:1) > at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1) > at > com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40) > at > com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193) > at > com.google.web.bindery.event.shared.SimpleEventBus.fireEventFromSource(SimpleEventBus.java:96) > at > com.google.gwt.event.shared.SimpleEventBus.fireEventFromSource(SimpleEventBus.java:62) > at > com.google.gwt.event.shared.EventBus.castFireEventFromSource(EventBus.java:75) > at > com.google.gwt.event.shared.SimpleEventBus.fireEventFromSource(SimpleEventBus.java:67) > at > com.gwtplatform.mvp.client.PresenterWidget.fireEvent(PresenterWidget.java:254) > at > com.gwtplatform.mvp.client.proxy.RevealRootContentEvent.fire(RevealRootContentEvent.java:51) > at > com.wipay.esafw.client.presenter.esafwapp.EsafwAppP.revealInParent(EsafwAppP.java:85) > at com.gwtplatform.mvp.client.Presenter.forceReveal(Presenter.java:189) > at > com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract.manualReveal(ProxyPlaceAbstract.java:227) > at > com.gwtplatform.mvp.client.proxy.ProxyPlaceAbstract$3$1.execute(ProxyPlaceAbstract.java:213) > at > com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50) > at > com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:228) > at > com.google.gwt.core.client.impl.SchedulerImpl.flushPostEventPumpCommands(SchedulerImpl.java:388) > at > com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:78) > at > com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:138) > 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.MethodDispatch.invoke(MethodDispatch.java:71) > at > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) > at > com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) > at > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) > at > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) > at > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) > at com.google.gwt.core.client.impl.Impl.apply(Impl.java) > at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) > at sun.reflect.GeneratedMethodAccessor34.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.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:292) > at > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) > at > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) > at java.lang.Thread.run(Unknown Source) > > > 2012/1/19 wipay <[email protected]> >> >> hola amigos >> tengo problemas con gwt 2.4 me sale el siguiente error >> >> 19/01/2012 10:37:05 AM com.google.inject.servlet.GuiceFilter >> setPipeline >> ADVERTENCIA: Multiple Servlet injectors detected. This is a warning >> indicating that you have more than one GuiceFilter running in your web >> application. If this is deliberate, you may safely ignore this >> message. If this is NOT deliberate however, your application may not >> work as expected. >> [WARN] Server class 'javax.validation.Validation' could not be found >> in the web app, but was found on the system classpath >> [WARN] Adding classpath entry 'file:/C:/Java/eclipse/plugins/ >> com.google.gwt.eclipse.sdkbundle_2.4.0.v201112160242-rel-r37/gwt-2.4.0/ >> validation-api-1.0.0.GA.jar' to the web app classpath for this session >> For additional info see: file:/C:/Java/eclipse/plugins/ >> com.google.gwt.eclipse.sdkbundle_2.4.0.v201112160242-rel-r37/gwt-2.4.0/ >> doc/helpInfo/webAppClassPath.html I have no idea what's going wrong but start debugging at the indicated line and/or figure out where this 'length' property is being used. Unfortunately, GWT sometimes swallows up entire stack traces making debugging very hard. In other cases the error message is spot-on and very descriptive. You may have run into a bug that falls into the first category. -- 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.
