I have narrowed it down to this class. I suspect this is a bug in icefaces.
Is there anyway to find out what specific object is causing the exception? I
can tell from the server.log that it dying on the ArrayList of MenuItem
(MenuItem is an icefaces class) but thats it.
| @Stateful
| @Name("menuManager")
| @Scope(SESSION)
| public class MenuManagerBean implements MenuManager, java.io.Serializable {
| /**
| *
| */
| private static final long serialVersionUID = 4289740177244369482L;
|
| @Logger
| private Log log;
|
| @In
| FacesMessages facesMessages;
|
| // @In @Out
| // private User user;
|
| @PersistenceContext
| private EntityManager em;
|
| @Out
| private List<MenuItem> dataMenu;
|
| public MenuManagerBean(){}
|
| @Factory("dataMenu")
| public void loadDataMenu() {
| dataMenu = new ArrayList<MenuItem>();
| for (int i=0; i < 5; i++) {
| MenuItem item = new MenuItem();
| item.setId("menuItem_" + i);
| item.setLink("link-" + i + ".seam");
| item.setValue("MenuItem-" + i);
| dataMenu.add(item);
| }
| }
|
| @Remove @Destroy
| public void destroy() {}
|
| public List<MenuItem> getDataMenu() {
| return dataMenu;
| }
|
| public void setDataMenu(List<MenuItem> dataMenu) {
| this.dataMenu = dataMenu;
| }
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005426#4005426
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005426
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user