1 Reply Latest reply on Dec 1, 2008 11:09 AM by François Degrelle

    RichSelectOneChoice Problem after deployment

    589616
      Hi,
      We are using JDeveloper11g release with ADF Components.

      We have two RichSelectOnechoice selectonechoice1 and selectonechoice2.
      In valueChangeListener of selectonechoice1 we are adding the selectitems to selectonechoice2 after making selectonechoice2.getChildren().clear().
      This is working fine when we run this in integrated weblogic server. But after deploing this application in weblogic server we are getting the following error when we try to change the value in selectonechoice1 . It is working fine when we remove selectonechoice2.getChildren().clear() from valueChangeListener of selectonechoice1.


      javax.servlet.ServletException: java.lang.AssertionError
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:333)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
      at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
      at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
      at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
      at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:143)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:188)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:652)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:243)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:278)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      Caused by: java.lang.AssertionError
      at org.apache.myfaces.trinidad.component.ChildArrayList.__removeFromParent(ChildArrayList.java:191)
      at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayList.java:53)
      at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayList.java:33)
      at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:491)
      at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:669)
      at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag18(__viewsearchcurriculum_jspx.java:1063)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag17(__viewsearchcurriculum_jspx.java:1023)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag10(__viewsearchcurriculum_jspx.java:643)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag9(__viewsearchcurriculum_jspx.java:579)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag6(__viewsearchcurriculum_jspx.java:418)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag5(__viewsearchcurriculum_jspx.java:370)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag4(__viewsearchcurriculum_jspx.java:298)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag3(__viewsearchcurriculum_jspx.java:246)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag2(__viewsearchcurriculum_jspx.java:195)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspx___tag0(__viewsearchcurriculum_jspx.java:109)
      at jsp_servlet._curriculum._view._viewcurriculum.__viewsearchcurriculum_jspx._jspService(__viewsearchcurriculum_jspx.java:67)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      ... 44 more


      Can any one tell me what the problem is.
      Thanking you
      NIRANJAN REDDY.S