Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: EE-1.8.2.GA_P04
-
Component/s: Facelet Components
-
Labels:None
-
Environment:IceFaces EE 1.8.2.GA_P03, Tomcat 7, JSF 1.2_15-B02, Chrome 16, Firefox 8, IE 9 (latest versions)
Description
1. Set up a sample IceFaces EE 1.8.2.GA_P03 project.
2. Add code from attachedFiles to your project:
- welcomeICEfaces.xhtml page:
- Employee.java
- EditableTableEventListener.java
- PhonebookBean.java
3. Compile, build & Run application.
4. Notice in the server log the following exception appear each time you load welcome page:
java.lang.IllegalArgumentException: Could not find the MenuPopup UIComponent referenced by attribute menuPopup="editableTable_namecol_createRowMenu" in UIComponent of type: com.icesoft.faces.component.ext.HtmlPanelGroup with id: "j_id28"
at com.icesoft.faces.component.menupopup.MenuPopupHelper.findMenuPopup(MenuPopupHelper.java:140)
at com.icesoft.faces.component.menupopup.MenuPopupHelper.renderMenuPopupHandler(MenuPopupHelper.java:54)
at com.icesoft.faces.component.ext.renderkit.GroupRenderer.encodeBegin(GroupRenderer.java:171)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:816)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:355)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:364)
.....
(for full stack trace refer to the attached serverLog.rtf)
5. Click on any row in the editable table to crash application with an exception demonstrated in attached screenshots. (see Screenshot1.jpg & Screenshot2.jpg)
2. Add code from attachedFiles to your project:
- welcomeICEfaces.xhtml page:
- Employee.java
- EditableTableEventListener.java
- PhonebookBean.java
3. Compile, build & Run application.
4. Notice in the server log the following exception appear each time you load welcome page:
java.lang.IllegalArgumentException: Could not find the MenuPopup UIComponent referenced by attribute menuPopup="editableTable_namecol_createRowMenu" in UIComponent of type: com.icesoft.faces.component.ext.HtmlPanelGroup with id: "j_id28"
at com.icesoft.faces.component.menupopup.MenuPopupHelper.findMenuPopup(MenuPopupHelper.java:140)
at com.icesoft.faces.component.menupopup.MenuPopupHelper.renderMenuPopupHandler(MenuPopupHelper.java:54)
at com.icesoft.faces.component.ext.renderkit.GroupRenderer.encodeBegin(GroupRenderer.java:171)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:816)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:355)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:364)
.....
(for full stack trace refer to the attached serverLog.rtf)
5. Click on any row in the editable table to crash application with an exception demonstrated in attached screenshots. (see Screenshot1.jpg & Screenshot2.jpg)
Issue Links
- duplicates
-
IPCK-304 IllegalArgumentException thrown after updating BaseRichDataColumn column array
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
*30723 3/11/12 9:37 AM 7 philip.breau
IPCK-332Composite Component - EditableTable throwing exceptions