Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13009

drag and drop inside collapsible subtable causes assertion error

    Details

    • Steps to Reproduce:
      Hide
      1. start JBoss As 7.1 with JAVA_OPTS="-ea" (assertions enabled)
      2. deploy Metamer and open http://127.0.0.1:8080/metamer/faces/components/richDragIndicator/simple.xhtml?templates=richCollapsibleSubTable
      3. drag the first item and drop it into the first area
        • ERROR
        • the following response is sent from server
          <?xml version='1.0' encoding='UTF-8'?>
          <partial-response><error><error-name>class java.lang.AssertionError</error-name><error-message><![CDATA[]]></error-message></error></partial-response>
          
      Show
      start JBoss As 7.1 with JAVA_OPTS="-ea" (assertions enabled) deploy Metamer and open http://127.0.0.1:8080/metamer/faces/components/richDragIndicator/simple.xhtml?templates=richCollapsibleSubTable drag the first item and drop it into the first area ERROR the following response is sent from server <?xml version= '1.0' encoding= 'UTF-8' ?> <partial-response><error><error-name> class java.lang.AssertionError</error-name><error-message><![CDATA[]]></error-message></error></partial-response>

      Description

      The issue is probably caused by this assertion: https://github.com/richfaces/richfaces/blob/master/framework/src/main/java/org/richfaces/ui/iteration/UIDataAdaptor.java#L880

      Here is the stack trace:

      Daemon Thread [http-localhost-127.0.0.1-8080-1] (Suspended (breakpoint at line 880 in UIDataAdaptor))	
      	UICollapsibleSubTable(UIDataAdaptor).getIterationState() line: 880	
      	UICollapsibleSubTable(AbstractCollapsibleSubTable).getIterationState() line: 151	
      	SavedState.<init>(IterationStateHolder) line: 62	
      	UIDataTable(UIDataAdaptor).saveChildState(FacesContext, UIComponent) line: 309	
      	UIDataTable(UIDataAdaptor).saveChildState(FacesContext) line: 290	
      	UIDataTable(UIDataAdaptor).setRowKey(FacesContext, Object) line: 266	
      	UIDataTable(UIDataAdaptor).invokeOnComponent(FacesContext, String, ContextCallback) line: 1074	
      	HtmlForm(UIComponent).invokeOnComponent(FacesContext, String, ContextCallback) line: 1426	
      	HtmlForm(UIComponentBase).invokeOnComponent(FacesContext, String, ContextCallback) line: 669	
      	HtmlPanelGroup(UIComponent).invokeOnComponent(FacesContext, String, ContextCallback) line: 1426	
      	HtmlPanelGroup(UIComponentBase).invokeOnComponent(FacesContext, String, ContextCallback) line: 669	
      	UIOutput(UIComponent).invokeOnComponent(FacesContext, String, ContextCallback) line: 1426	
      	UIOutput(UIComponentBase).invokeOnComponent(FacesContext, String, ContextCallback) line: 669	
      	UIViewRoot(UIComponent).invokeOnComponent(FacesContext, String, ContextCallback) line: 1426	
      	UIViewRoot(UIComponentBase).invokeOnComponent(FacesContext, String, ContextCallback) line: 669	
      	DropTargetRenderer.doDecode(FacesContext, UIComponent) line: 86	
      	DropTargetRenderer(RendererBase).decode(FacesContext, UIComponent) line: 81	
      	UIDropTarget(UIComponentBase).decode(FacesContext) line: 787	
      	UIDropTarget(UIComponentBase).processDecodes(FacesContext) line: 1181	
      	PartialViewExecuteVisitCallback.visit(VisitContext, UIComponent) line: 53	
      	ExecuteExtendedVisitContext(BaseExtendedVisitContext).invokeVisitCallback(UIComponent, VisitCallback) line: 322	
      	UIDropTarget(UIComponent).visitTree(VisitContext, VisitCallback) line: 1612	
      	UIOutputPanel(UIComponent).visitTree(VisitContext, VisitCallback) line: 1623	
      	HtmlPanelGroup(UIComponent).visitTree(VisitContext, VisitCallback) line: 1623	
      	UIDataAdaptor$DataVisitorForVisitTree.process(FacesContext, Object, Object) line: 197	
      	SequenceDataModel<E>.walk(FacesContext, DataVisitor, Range, Object) line: 66	
      	UICollapsibleSubTable(UIDataAdaptor).walk(FacesContext, DataVisitor, Object) line: 807	
      	UICollapsibleSubTable(UIDataAdaptor).visitDataChildren(VisitContext, VisitCallback, boolean) line: 1280	
      	UICollapsibleSubTable(UIDataTableBase).visitDataChildren(VisitContext, VisitCallback, boolean) line: 416	
      	UICollapsibleSubTable(UIDataAdaptor).visitTree(VisitContext, VisitCallback) line: 1358	
      	UIDataAdaptor$DataVisitorForVisitTree.process(FacesContext, Object, Object) line: 197	
      	SequenceDataModel<E>.walk(FacesContext, DataVisitor, Range, Object) line: 66	
      	UIDataTable(UIDataAdaptor).walk(FacesContext, DataVisitor, Object) line: 807	
      	UIDataTable(UIDataAdaptor).visitDataChildren(VisitContext, VisitCallback, boolean) line: 1280	
      	UIDataTable(UIDataTableBase).visitDataChildren(VisitContext, VisitCallback, boolean) line: 416	
      	UIDataTable(UIDataAdaptor).visitTree(VisitContext, VisitCallback) line: 1358	
      	HtmlForm(UIComponent).visitTree(VisitContext, VisitCallback) line: 1623	
      	HtmlForm(UIForm).visitTree(VisitContext, VisitCallback) line: 371	
      	HtmlPanelGroup(UIComponent).visitTree(VisitContext, VisitCallback) line: 1623	
      	UIOutput(UIComponent).visitTree(VisitContext, VisitCallback) line: 1623	
      	UIViewRoot(UIComponent).visitTree(VisitContext, VisitCallback) line: 1623	
      	ExtendedPartialViewContextImpl.executeComponents(PhaseId, Collection<String>) line: 287	
      	ExtendedPartialViewContextImpl.processPartialExecutePhase(PhaseId) line: 267	
      	ExtendedPartialViewContextImpl.processPartial(PhaseId) line: 224	
      	UIViewRoot.processDecodes(FacesContext) line: 931	
      	ApplyRequestValuesPhase.execute(FacesContext) line: 78	
      	ApplyRequestValuesPhase(Phase).doPhase(FacesContext, Lifecycle, ListIterator<PhaseListener>) line: 101	
      	LifecycleImpl.execute(FacesContext) line: 118	
      	FacesServlet.service(ServletRequest, ServletResponse) line: 593	
      	ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 329	
      	ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 248	
      	TestIdentityFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 93	
      	ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 280	
      	ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 248	
      	ConversationPropagationFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 62	
      	ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 280	
      	ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 248	
      	StandardWrapperValve.invoke(Request, Response) line: 275	
      	StandardContextValve.invoke(Request, Response) line: 161	
      	SecurityContextAssociationValve.invoke(Request, Response) line: 153	
      	StandardHostValve.invoke(Request, Response) line: 155	
      	ErrorReportValve.invoke(Request, Response) line: 102	
      	StandardEngineValve.invoke(Request, Response) line: 109	
      	CoyoteAdapter.service(Request, Response) line: 368	
      	Http11Processor.process(Socket) line: 877	
      	Http11Protocol$Http11ConnectionHandler.process(Socket) line: 671	
      	JIoEndpoint$Worker.run() line: 930	
      	Thread.run() line: 722	
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jpapouse Jan Papousek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: