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
Evgheni Sadovoi
created issue -
Evgheni Sadovoi
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | EditableTableEventListener.java [ 13932 ] | |
Attachment | Employee.java [ 13933 ] | |
Attachment | PhonebookBean.java [ 13934 ] |
Evgheni Sadovoi
made changes -
Attachment | Screenshot1.jpg [ 13935 ] | |
Attachment | Screenshot2.jpg [ 13936 ] | |
Attachment | serverLog.rtf [ 13937 ] |
Evgheni Sadovoi
made changes -
Attachment | welcomeICEfaces.xhtml [ 13938 ] |
Evgheni Sadovoi
made changes -
Summary | ice-cc:editableTable bug (java.lang.IllegalArgumentException: Could not find the MenuPopup UIComponent referenced by attribute menuPopup="editableTable_sitecol_createRowMenu ... ") | Composite Component - EditableTable throwing exceptions |
Salesforce Case | [5007000000KE5bD] |
Evgheni Sadovoi
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Fix Version/s | EE-1.8.2.GA_P04 [ 10281 ] | |
Assignee | Ken Fyten [ ken.fyten ] |
Arran Mccullough
made changes -
Philip Breau
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
*30723 3/11/12 9:37 AM 7 philip.breau
IPCK-332Composite Component - EditableTable throwing exceptions