Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting NoSuchElementException while running a jsf file

3174772Apr 22 2016 — edited Apr 22 2016

Hi experts,

I am using 12.2.1 jdeveloper version. I am running a jsf file, at a point when a click on a particular link i am getting java.util.NoSuchElementException.

Here is the point in my code:

  nodeId = ((ListItem) (li.iterator().next())).getNodeId();

  Util.logLn("In getNodeDetails\n" + nodeId);

  Node node = nodeMap.get(nodeId);\

this is my exception:

java.util.NoSuchElementException

    at java.util.ArrayList$Itr.next(ArrayList.java:854)

    at ymi.genealogy.bean.GenealogyMainBean.getNodeDetails(GenealogyMainBean.java:315)

can anyone help me out with the solution

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2016
Added on Apr 22 2016
4 comments
247 views