2 Replies Latest reply on Apr 4, 2014 3:09 PM by Tim McClure

    Redundant Remove Call Issue With Errai 2.4.1.Final

    Tim McClure Apprentice

      I am using JBPM 6.0.0.Final which uses Errai 2.4.1Final and when I run my Errai application integrated with JBPM I get the client side exception listed below.  When I run my application in a Errai 2.4.3.Final standalone environment I do not experience this problem.  It would a significant challenge for us to upgrade our development environment to later releases of JBPM and Errai at this time so I am hoping someone could point me to a quick fix.  Exception listed below.

       

      Thanks,

      Tim

       

       

              00:05:14.733 [ERROR] Uncaught exception escaped 

      com.google.gwt.event.shared.UmbrellaException: Exception caught: redundant remove call
           at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
           at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
           at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
           at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
           at com.github.gwtbootstrap.client.ui.base.IconAnchor.onBrowserEvent(IconAnchor.java:241)
           at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
           at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
           at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:606)
           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:338)
           at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
           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.google.gwt.core.client.impl.Impl.apply(Impl.java)
           at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
           at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:606)
           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: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(Thread.java:744)
      Caused by: java.lang.AssertionError: redundant remove call
           at com.google.web.bindery.event.shared.SimpleEventBus.doRemoveNow(SimpleEventBus.java:217)
           at com.google.web.bindery.event.shared.SimpleEventBus.doRemove(SimpleEventBus.java:107)
           at com.google.gwt.event.shared.HandlerManager$Bus.doRemove(HandlerManager.java:42)
           at com.google.web.bindery.event.shared.SimpleEventBus$1.removeHandler(SimpleEventBus.java:163)
           at com.google.gwt.event.shared.LegacyHandlerWrapper.removeHandler(LegacyHandlerWrapper.java:30)
           at org.jboss.errai.databinding.client.Binding.removeHandler(Binding.java:62)
           at org.jboss.errai.databinding.client.BindableProxyAgent.unbind(BindableProxyAgent.java:231)
           at org.jboss.errai.databinding.client.api.DataBinder.setModel(DataBinder.java:328)
           at org.jboss.errai.databinding.client.api.DataBinder.setModel(DataBinder.java:289)
           at com.apimg.dakota.workflow.ldapintegration.client.ldapconfigurations.widgets.LdapConfigurationFormWidget.setModel(LdapConfigurationFormWidget.java:149)
           at com.apimg.dakota.workflow.ldapintegration.client.ldapconfigurations.LdapConfigurationsViewImpl.onLdapConfigurationChange(LdapConfigurationsViewImpl.java:119)
           at org.jboss.errai.ioc.client.BootstrapperImpl$544$1.fireEvent(BootstrapperImpl.java:10008)
           at org.jboss.errai.ioc.client.BootstrapperImpl$544$1.fireEvent(BootstrapperImpl.java:1)
           at org.jboss.errai.enterprise.client.cdi.AbstractCDIEventCallback.callback(AbstractCDIEventCallback.java:62)
           at org.jboss.errai.enterprise.client.cdi.api.CDI.fireIfNotFired(CDI.java:270)
           at org.jboss.errai.enterprise.client.cdi.api.CDI._fireEvent(CDI.java:258)
           at org.jboss.errai.enterprise.client.cdi.api.CDI.consumeEventFromMessage(CDI.java:246)
           at org.jboss.errai.enterprise.client.cdi.api.CDI.fireEvent(CDI.java:144)
           at org.jboss.errai.enterprise.client.cdi.api.CDI.fireEvent(CDI.java:115)
           at org.jboss.errai.enterprise.client.cdi.EventProvider$EventImpl.fire(EventProvider.java:63)
           at com.apimg.dakota.workflow.ldapintegration.client.ldapconfigurations.widgets.LdapConfigurationFormWidget.onSubmitClick(LdapConfigurationFormWidget.java:144)
           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.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:338)
           at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
           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.invokeNativeVoid(ModuleSpace.java:299)
           at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
           at org.jboss.errai.ioc.client.BootstrapperImpl._$907099366_onSubmitClick(BootstrapperImpl.java)
           at org.jboss.errai.ioc.client.BootstrapperImpl$434$1$2.onClick(BootstrapperImpl.java:8196)
           at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:56)
           at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.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.fireEvent(SimpleEventBus.java:88)
           at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
           at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:129)
           at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:116)
           at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:177)
           at com.github.gwtbootstrap.client.ui.base.IconAnchor.onBrowserEvent(IconAnchor.java:241)
           at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1351)
           at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1307)
           at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:606)
           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:338)
           at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
           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.google.gwt.core.client.impl.Impl.apply(Impl.java)
           at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:242)
           at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:606)
           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: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(Thread.java:744)