Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuch Element Exception after running the Jmeter test!

 
Aman Kaur
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
As I was trying to test the application, it is throwing the following errors in the tomcat logs.

Caused by: java.util.NoSuchElementException
at javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:119)
at javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:146)
at javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:51)
at javax.faces.component.UISelectOne.matchValue(UISelectOne.java:165)
at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:137)
at javax.faces.component.UIInput.validate(UIInput.java:875)
at javax.faces.component.UIInput.executeValidate(UIInput.java:1078)
at javax.faces.component.UIInput.processValidators(UIInput.java:670)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039)
at javax.faces.component.UIForm.processValidators(UIForm.java:229)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:672)
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)

Can anyone explain why is this happening and what would be the resolution for this?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems like you'd have 3 items of some kind on the UI and none of them match what your test is looking for. This is just shooting in the dark, though, since there's not much information to go from. Maybe you could tell us more details?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic