2 Replies Latest reply on Oct 3, 2017 3:04 PM by Miquelli Fontana

    Problems with data biding

    Miquelli Fontana Newbie

      Hi guys.

       

      I've been doing some tests with Errai and I'm trying to split the errai-tutorial project in 3 different projects.

      One for the front-end, other for the server classes and the third for common classes.

       

      I already can build the 3 projects dependencies and deploy the project's war on my local wildfly instance, but an exception is thrown while the browser is initializing the Default Page.

      The exception mentioned above: 'Error caused by: RuntimeException: No proxy provider found for bindable type: br.net.a7.chinchila.errai.business.Contact'

      Caused by: java.lang.RuntimeException: No proxy provider found for bindable type: br.net.a7.chinchila.errai.business.Contact
      ConsoleLogger.java:32 Error: java.lang.RuntimeException: No proxy provider found for bindable type: br.net.a7.chinchila.errai.business.Contact
          at zD_g$.UC_g$ [as createError_0_g$] (Throwable.java:121)
          at zD_g$.cD_g$ [as initializeBackingError_0_g$] (Throwable.java:113)
          at zD_g$.NC_g$ (Throwable.java:67)
          at zD_g$.rD_g$ (Exception.java:29)
          at zD_g$ (RuntimeException.java:29)
          at Aii_g$ (BindableProxyFactory.java:129)
          at xii_g$ (BindableProxyFactory.java:96)
          at Pni_g$ (DataBinder.java:74)
          at boi_g$ (DataBinder.java:94)
          at Tji_g$.Vji_g$ [as provide_1_g$] (DataBinderProvider.java:39)
          at Tji_g$.Uji_g$ [as provide_0_g$] (DataBinderProvider.java:38)
          at cFi_g$.eFi_g$ [as createContextualInstance_6_g$] (ContextualProvider_factory__o_j_e_d_c_a_DataBinder__quals__Universal.java:20)
          at cFi_g$.dFi_g$ [as createContextualInstance_0_g$] (ContextualProvider_factory__o_j_e_d_c_a_DataBinder__quals__Universal.java:18)
          at $2i_g$.b3i_g$ [as getContextualInstance_0_g$] (DependentScopeContext.java:81)
          at E2i_g$.N2i_g$ [as getContextualInstance_0_g$] (ContextManagerImpl.java:52)
          at uRi_g$.wRi_g$ [as createInstance_53_g$] (Type_factory__o_j_e_d_c_l_ContactEditor__quals__j_e_i_Any_j_e_i_Default.java:62)
          at uRi_g$.vRi_g$ [as createInstance_2_g$] (Type_factory__o_j_e_d_c_l_ContactEditor__quals__j_e_i_Any_j_e_i_Default.java:50)
          at $2i_g$.N1i_g$ [as createNewUnproxiedInstance_0_g$] (AbstractContext.java:85)
          at $2i_g$.P1i_g$ [as getActiveNonProxiedInstance_0_g$] (AbstractContext.java:78)
          at $2i_g$.U1i_g$ [as getInstance_1_g$] (AbstractContext.java:131)
          at E2i_g$.P2i_g$ [as getInstance_1_g$] (ContextManagerImpl.java:47)
          at iTi_g$.kTi_g$ [as createInstance_54_g$] (Type_factory__o_j_e_d_c_l_ContactListPage__quals__j_e_i_Any_j_e_i_Default.java:75)
          at iTi_g$.jTi_g$ [as createInstance_2_g$] (Type_factory__o_j_e_d_c_l_ContactListPage__quals__j_e_i_Any_j_e_i_Default.java:64)
          at $2i_g$.N1i_g$ [as createNewUnproxiedInstance_0_g$] (AbstractContext.java:85)
          at $2i_g$.P1i_g$ [as getActiveNonProxiedInstance_0_g$] (AbstractContext.java:78)
          at $2i_g$.U1i_g$ [as getInstance_1_g$] (AbstractContext.java:131)
          at E2i_g$.P2i_g$ [as getInstance_1_g$] (ContextManagerImpl.java:47)
          at b6i_g$.d6i_g$ [as getInstance_2_g$] (SyncBeanManagerImpl.java:389)
          at S6i_g$.U6i_g$ [as getInstance_4_g$] (SyncToAsyncBeanManagerAdapter.java:129)
          at WHj_g$.iIj_g$ [as produceContent_0_g$] (GeneratedNavigationGraph.java:33)
          at zDj_g$.VDj_g$ [as maybeShowPage_0_g$] (Navigation.java:408)
          at zDj_g$.WDj_g$ [as navigate_0_g$] (Navigation.java:343)
          at zDj_g$.YDj_g$ [as navigate_2_g$] (Navigation.java:324)
          at zDj_g$.XDj_g$ [as navigate_1_g$] (Navigation.java:318)
          at zDj_g$.LDj_g$ [as goTo_1_g$] (Navigation.java:279)
          at aDj_g$.cDj_g$ [as handleInvalidPageNameError_0_g$] (DefaultNavigationErrorHandler.java:46)
          at fEj_g$.gEj_g$ [as onValueChange_0_g$] (Navigation.java:188)
          at aOd_g$.bOd_g$ [as dispatch_41_g$] (ValueChangeEvent.java:128)
          at aOd_g$.cOd_g$ [as dispatch_1_g$] (ValueChangeEvent.java:127)
          at aOd_g$.bEd_g$ [as dispatch_0_g$] (GwtEvent.java:76)
          at AOd_g$ (EventBus.java:40)
          at aPd_g$.LOd_g$ [as doFire_0_g$] (SimpleEventBus.java:193)
          at aPd_g$.ROd_g$ [as fireEvent_2_g$] (SimpleEventBus.java:88)
          at pOd_g$.sOd_g$ [as fireEvent_1_g$] (HandlerManager.java:127)
          at jye_g$.lye_g$ [as fireEvent_1_g$] (History.java:68)
          at dOd_g$ (ValueChangeEvent.java:43)
          at jye_g$.mye_g$ [as fireValueChangedEvent_0_g$] (History.java:77)
          at Yxe_g$ (History.java:254)
          at tDj_g$ (HistoryWrapper.java:77)
          at jEj_g$.kEj_g$ [as run_5_g$] (Navigation.java:200)
          at M_h_g$.N_h_g$ [as run_5_g$] (InitVotes.java:433)
          at f_h_g$ (InitVotes.java:405)
          at e_h_g$ (InitVotes.java:390)
          at i_h_g$ (InitVotes.java:367)
          at E_h_g$.F_h_g$ [as run_5_g$] (InitVotes.java:207)
          at c0h_g$.i0h_g$ [as run_5_g$] (ClientTaskManager.java:90)
          at s0h_g$.v0h_g$ [as run_5_g$] (ClientTaskManager.java:192)
          at s0h_g$.LJb_g$ [as fire_0_g$] (Timer.java:135)
          at Timer.java:139
          at xdc_g$ (Impl.java:239)
          at Adc_g$ (Impl.java:291)
          at Impl.java:77
      

       

      Anyone has an idea about what is happening?

       

      Thanks!