It appears you're trying to get the next element from a list which is empty, or doesn't have next element in the iterator. Did you use iterator.hasNext() to check first? Just a thought.

Saul

Nuwan Chandrasoma wrote:
Hi All,

I am getting this error when i try to access some actions in a struts based web application that is running on WSA6. does anybody have any idea about this error?..

SRVE0068E: Could not invoke the service() method on servlet action. Exception 
thrown : java.util.NoSuchElementException
 at java.util.HashMap$HashIterator.nextEntry(HashMap.java(Compiled Code))
 at java.util.HashMap$ValueIterator.next(HashMap.java(Compiled Code))
 at java.util.AbstractCollection.toArray(AbstractCollection.java(Compiled Code))
 at java.util.ArrayList.<init>(ArrayList.java:159)
 at com.ibm.ws.util.ClauseTable.getList(ClauseTable.java:84)
 at com.ibm.ws.util.ClauseNode.targets(ClauseNode.java:106)
 at com.ibm.ws.util.ClauseNode.targets(ClauseNode.java:110)
 at com.ibm.ws.util.ClauseNode.targets(ClauseNode.java:110)
 at com.ibm.ws.util.URIMatcher.iterator(URIMatcher.java:116)
 at com.ibm.ws.util.URIMapper.targetMappings(URIMapper.java:68)
 at com.ibm.ws.webcontainer.webapp.WebApp.targets(WebApp.java:3332)
 at 
com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.flagWrapperToReloadClass(JSPExtensionProcessor.java:382)
 at 
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.checkForTranslation(JSPExtensionServletWrapper.java:267)
 at 
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:137)
 at 
com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230)
 at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:250)
 at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
 at 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
 at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
 at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)


Thanks,

Nuwan.

--------------------------------
Spam/Virus scanning by CanIt Pro

For more information see
http://www.kgbinternet.com/SpamFilter.htm

To control your spam filter, log in at
http://filter.kgbinternet.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to