ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-304

IllegalArgumentException thrown after updating BaseRichDataColumn column array

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2.GA_P02
    • Fix Version/s: EE-1.8.2.GA_P04
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      All
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      There seems to be two workarounds:

      Workaround #1: If you keep the same set of columns but simply hide the column you want removed, the exception isn't thrown.

      Workaround #2: If you just remove the last column from the array, the exception isn't thrown.
      Show
      There seems to be two workarounds: Workaround #1: If you keep the same set of columns but simply hide the column you want removed, the exception isn't thrown. Workaround #2: If you just remove the last column from the array, the exception isn't thrown.

      Description

      If you update the BaseRichDataColumn[] array after the RichDataGridBean object has already been initialized with a different set of columns, any interaction with the component after the update causes the following exception:

      Caused by: java.lang.IllegalArgumentException: Could not find the MenuPopup UIComponent referenced by attribute menuPopup="richDataGrid2_company_createRowMenu" in UIComponent of type: com.icesoft.faces.component.ext.HtmlPanelGroup with id: "j_id184"
              at com.icesoft.faces.component.menupopup.MenuPopupHelper.findMenuPopup(MenuPopupHelper.java:140)
              at com.icesoft.faces.component.menupopup.MenuPopupHelper.processDisplayListener(MenuPopupHelper.java:107)
              at com.icesoft.faces.component.menupopup.MenuPopupHelper.decodeMenuContext(MenuPopupHelper.java:78)
              at com.icesoft.faces.component.ext.renderkit.GroupRenderer.decode(GroupRenderer.java:269)
              at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
              at com.icesoft.faces.component.ext.HtmlPanelGroup.decode(HtmlPanelGroup.java:133)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1031)
              at com.icesoft.faces.component.ext.HtmlDataTable.processKids(HtmlDataTable.java:330)
              at com.icesoft.faces.component.ext.HtmlDataTable.iterate(HtmlDataTable.java:285)
              at com.icesoft.faces.component.panelseries.UISeries.processDecodes(UISeries.java:326)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIForm.processDecodes(UIForm.java:208)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
              at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:540)
              at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
              ... 30 more

        Issue Links

          Activity

          Hide
          Arran Mccullough added a comment -

          Source code for test case. War file too large to add to JIRA

          Show
          Arran Mccullough added a comment - Source code for test case. War file too large to add to JIRA
          Hide
          Philip Breau added a comment -

          *30723 3/11/12 9:37 AM 7 philip.breau IPCK-332 Composite Component - EditableTable throwing exceptions

          Show
          Philip Breau added a comment - *30723 3/11/12 9:37 AM 7 philip.breau IPCK-332 Composite Component - EditableTable throwing exceptions

            People

            • Assignee:
              Philip Breau
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: