You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Heinen <mh...@recommind.com> on 2006/06/26 15:17:29 UTC
NoSuchElementException in HtmlSelectOneMenu
I got the following exception in my log today:
java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(Unknown Source)
at java.util.AbstractList.removeRange(Unknown Source)
at java.util.AbstractList.clear(Unknown Source)
at
com.recommind.annotation.controller.SearchController.getPublicSearchesMe
nu(SearchController.java:897)
...
SearchController:
public UISelectOne getPublicSearchesMenu() {
if (this.publicSearchesMenu==null){
this.publicSearchesMenu = new
HtmlSelectOneMenu();
}
this.publicSearchesMenu.getChildren().clear();
//***LINE 897***
Has anybody an idea why this is thrown?
Michael
RE: NoSuchElementException in HtmlSelectOneMenu
Posted by Michael Heinen <mh...@recommind.com>.
Should I open a jira issue for this?
I found this multiple times in my log but I don't currently know how to
reproduce it.
Michael
________________________________
From: Michael Heinen [mailto:mhn@recommind.com]
Sent: Montag, 26. Juni 2006 15:17
To: MyFaces Discussion
Subject: NoSuchElementException in HtmlSelectOneMenu
I got the following exception in my log today:
java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(Unknown Source)
at java.util.AbstractList.removeRange(Unknown Source)
at java.util.AbstractList.clear(Unknown Source)
at
com.recommind.annotation.controller.SearchController.getPublicSearchesMe
nu(SearchController.java:897)
...
SearchController:
public UISelectOne getPublicSearchesMenu() {
if (this.publicSearchesMenu==null){
this.publicSearchesMenu = new
HtmlSelectOneMenu();
}
this.publicSearchesMenu.getChildren().clear();
//***LINE 897***
Has anybody an idea why this is thrown?
Michael