How to skip PROCESS_VALIDATION phase without setting immediate to true

I am getting the following error and I don�t know what to do.
I know it is caused during the PROCESS_VALIDATIOn phase.
Please help. I have a reproducible example after the message.
Error 500--Internal Server Error
java.util.NoSuchElementException
     at javax.faces.component.SelectItemsIterator.next()Ljava.lang.Object;(SelectItemsIterator.java:98)
     at javax.faces.component.SelectItemsIterator.next()Ljava.lang.Object;(SelectItemsIterator.java:124)
     at javax.faces.component.UISelectOne.matchValue(Ljava.lang.Object;Ljava.util.Iterator;)Z(UISelectOne.java:141)
     at javax.faces.component.UISelectOne.validateValue(Ljavax.faces.context.FacesContext;Ljava.lang.Object;)V(UISelectOne.java:114)
     at javax.faces.component.UIInput.validate(Ljavax.faces.context.FacesContext;)V(UIInput.java:645)
     at javax.faces.component.UIInput.executeValidate(Ljavax.faces.context.FacesContext;)V(UIInput.java:849)
     at javax.faces.component.UIInput.processValidators(Ljavax.faces.context.FacesContext;)V(UIInput.java:412)
     at javax.faces.component.UIForm.processValidators(Ljavax.faces.context.FacesContext;)V(UIForm.java:170)
     at javax.faces.component.UIComponentBase.processValidators(Ljavax.faces.context.FacesContext;)V(UIComponentBase.java:912)
     at javax.faces.component.UIViewRoot.processValidators(Ljavax.faces.context.FacesContext;)V(UIViewRoot.java:342)
     at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(Ljavax.faces.context.FacesContext;)V(ProcessValidationsPhase.java:78)
     at com.sun.faces.lifecycle.LifecycleImpl.phase(Ljavax.faces.event.PhaseId;Lcom.sun.faces.lifecycle.Phase;Ljavax.faces.context.FacesContext;)V(LifecycleImpl.java:200)
     at com.sun.faces.lifecycle.LifecycleImpl.execute(Ljavax.faces.context.FacesContext;)V(LifecycleImpl.java:90)
     at javax.faces.webapp.FacesServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FacesServlet.java:197)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(Optimized Method)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(Optimized Method)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
     at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
     at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
     at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
I am using sun JSF 1.1.01 and Web Logic 8.1.
To reproduce this error
1) Type "testname1" in the Name text field and click the "add name" button.
The form is submitted and the "testname1" is added to the NameList (listbox).
2) Now select "testname1" from the nameList (listbox) and click the "remove name" button.
The form is submitted and the "testname1" item is deleted from the nameList.
So far it working fine. Now
3) Click the "back" button on the browser and click "add name" button.
BOOM, you will get the above mentioned error. I tried many things but not able to figure out the fix is.
Please help.
Code example follows...........................
Start-----faces-config.xml----
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
     <managed-bean>
          <managed-bean-name>testForm</managed-bean-name>
          <managed-bean-class>
               com.presentation.forms.testForm
          </managed-bean-class>
          <managed-bean-scope>session</managed-bean-scope>
     </managed-bean>
</faces-config>
Start-----faces-config.xml----
Start-----TestForm.faces----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<body>
<f:view>
     <h:form>
          NameList: <h:selectOneListbox value="#{testForm.nameValue}" size="5">
               <f:selectItems value="#{testForm.names}" />
          </h:selectOneListbox><br>
          Name: <h:inputText value="#{testForm.name}"></h:inputText>
          <h:commandButton action="#{testForm.removeAction}"
               value=" Remove Name" />
          <h:commandButton action="#{testForm.addAction}"
               value=" Add Name" />
     </h:form>
</f:view>
</body>
</html>
End-------TestForm.faces----
Start----testForm.java------
package com.presentation.forms;
import java.util.ArrayList;
import java.util.List;
import javax.faces.model.SelectItem;
public class testForm {
     String name = "";
     String nameValue = "";
     List rememberSelectedNames = new ArrayList();
     List names = new ArrayList();
     public List getNames() {
          return names;
     public void setNames(List names) {
          this.names = names;
     public String removeAction() {
          for (int i = 0; i < names.size(); i++) {
               SelectItem item = (SelectItem) names.get(i);
               if (item.getValue().equals(nameValue)) {
                    names.remove(i);
          return "";
     public String addAction() {
          System.out.println("Name is " + this.name);
          if (names == null) {
               List items = new ArrayList();
               items.add(new SelectItem(name, name));
               names = items;
          } else {
               names.add(new SelectItem(name, name));
          return "";
     public String getName() {
          return name;
     public void setName(String name) {
          this.name = name;
     public String getNameValue() {
          return nameValue;
     public void setNameValue(String nameValue) {
          this.nameValue = nameValue;
End------testform.java------

Hi again,
It seems to solve my issue but I need to press F5 after clicking the button. This button has an action == "cancel" and actionListener method in my bean.
When I press the button the page doesn't refresh as is supposed but if I press f5 it seems like it is when the action "cancel" is being sent. It solved my problem but it didn't.
Frustration
Solved by adding resetActionListener on my cancel button.
Edited by: Alejandro T. Lanz on 04-Dec-2012 14:46

Similar Messages

  • I need to set up 9 IPhones and 4 IPads to be used as data collection devices. How can I do that without setting up 13 separate ITunes accounts?

    I need to set up 9 IPhones and 4 IPads to be used as data collection devices. How can I do that without setting up 13 separate ITunes accounts?

    You can use the same account to set up as many devices as you like.
    You might also find there are tools to help with a roll out.
    http://www.apple.com/support/iphone/enterprise/
    tt2

  • How to modify  a table without  setting system to modifiable

    Hi All
    Is there a way to modify a table without setting the system to modifiable either in SCC4 or SE06.
    We locked SCC4 in our system , however one tables are not able to modify.
    table name YAUTM
    Is there a way to bypass this?
    Edited by: Shou Woon Wee on Jan 11, 2008 3:09 AM

    Hi Shou......
    if it gives you a message....."the client is not modifiable"/ ALIAS "table not modifiable"  ...then from a security perspective....you cant, and you might not want to bypass it!
    SCC4 settings are meant to be for that!  Contact your Basis team for this.
    The only way to bypass this is thru ....sending changes through a transport request.
    Curiosity: what environment are you trying this out ? cant be sandbox or DEV!
    Regards
    Abhishek

  • How to skip exection of a set of activities at runtime in a BPEL Process.

    Hi All,
    Please suggest me how the following scenario can be achieved.
    I have a BPEL process with 3 scopes, in each scope i have an invoke activity to call an async process.
    Currently the control is in scope-1 ,Once the execution of scope-1 is done i want to skip execution of scope-2 and want to execute scope-3.
    How can i achieve it at runtime....
    Thx,
    Siddhardha.

    I think that once the instance has started, there is no way to manually mark a scope as "skip" or something. You will need to code a switch in your process when scope2 needs to be executed and when not. You could base the condition on a preference (descriptor property), but those values apply to all instances, not just a single instance

  • How to use jar files without setting classpath

    Hi,
    I have a situvation, I can not set classpath, but i have to use jar files, how can I do that.

    URL[] urls = new URL[]{pathToJar, pathToAnotherJar, ...};
    URLClassLoader urlc = new URLClassLoader(urls);
    Now load classes within the jars loaded by the urlc classloader as needed. This is a limited approach, you can mostly use interfaces to work with classes loaded by the custom loader instance above and your existing classes.

  • How to install Twitter app without setting security questions?

    Hello! I recently registered a Twitter account. iOS 6 includes Twitter integration - great. When I navigate to Settings - Twitter and tap the Install button, a dialog shows up: "Improve your Apple ID security" and "Set security questions" blah blah. There are two buttons in the dialog, "Set questions" and "Cancel". If I tap Cancel, Twitter app download doesn't begin and Twitter icon disappears from my SpringBoard. If I tap "Set questions", I need to answer some stupid questions. If I leave answer boxes empty, I can't continue. I will not set any security questions for my Apple ID, that's for sure.
    How I can install Twitter app?

    I just encountered the same problem when I tried to download Twitter on my husband's new iPhone 5.  There was no problem when I installed Twitter on my iPhone 3GS yesterday :-( 
    You've probably seen by now that there are many, many people who are having problems with the 'Help improve Apple ID security' message - not confined to iPhone but also on iTunes, iPod Touch, iPad etc.
    I chose the 'Not Now' button on his iPhone 5 and the Twitter app wouldn't allow me to proceed ....
    Looks like Apple aren't in any hurry to fix this because people have been complaining about it for months (after all,  your post is more than 3 months old and the problem is still occurring).
    Were you ever able to activate Twitter on your iPhone 4S?
    Tricia

  • How to convert editable pdf into non-editable version for printing option only without setting up passwards?

    I am using IOS system with pdf preview functions. I try to convert editable pdf file into read only for others to print without access to edit the file.
    The only way I can do now is to convert to jpeg for each page and convert back to pdf then combine all pages together. It takes a lot of time in this case.
    Can anyone tell me how to do the conversion without setting up passwards for protection?
    Thank you very much!

    First of all, don't use all CAPS as it means shouting.
    Second, your question is completely off-topic for this forum which discusses Microsoft Office Outlook.
    Third, this is a peer-to-peer forum, don't count on anyone calling you. If you want dedicated support from Microsoft, contact Microsoft Support directly.
    Anyway, you can insert the picture in to OneNote and then have OneNote convert it into text. This usually isn't very accurate for scans though.
    A better solution would be to use a application which is dedicated to OCR. There are various out there. I suggest you try their demo versions to find out which works best with your handwriting.
    Robert Sparnaaij
    [MVP-Outlook]
    Outlook guides and more: HowTo-Outlook.com
    Outlook Quick Tips: MSOutlook.info

  • How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    1. See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for support
            and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

  • I want to use my IPOD Classic 160gb for notepad entries in addition to the music and books I listen to. It is set to "Open ITunes when connected to computer" and "manually manage music and videos". How can I do that without losing some of the features

    I want to use my IPOD Classic 160gb for notepad entries in addition to the music and books I listen to. It is set to "Open ITunes when connected to computer" and "manually manage music and videos".  How can I do that without losing some of the features of those two?   I just want to add a feature.  Thanks

    Settings>Store (or iTunes & App Stores if you are running iOS6)>Apple ID. Tap your son's ID and sign out. Sign in with your ID and password.
    You shouldn't lose the music, but if you try to update any apps that you bought with the family ID, you will have to use that password that is linked with that ID in order to update.
    Avoid downloading past purchased content with the old ID if you can since you will associate the iPad with the old ID for 90 days and you will lock yourself out of your own, new ID for that period of time. Read more about associated devices in iTunes here.
    iTunes Store: Associating a device or computer to your Apple ID

  • After I downloaded the new version of iTunes 11.0.1 and i try to open it it says: ''There is no application set to open the document ''iTunes 11.0.1.dmg.part''. How can i install this without paying for an app to do it?

    After I downloaded the new version of iTunes 11.0.1 and i try to open it it says: ''There is no application set to open the document ''iTunes 11.0.1.dmg.part''. How can i install this without paying for an app to do it? What apps can i download to do this type of work.

    .dmg.part is not a complete file..  It usually indicates that the entire file has not been downloaded yet.  Are you sure you downloaded the entire file?   (i recommend updating itunes through  > Software Update
    Alternatively, you can download it from here: http://support.apple.com/kb/DL1614

  • I have purchased two separate audio books and they just skip around and wont play all the way thru. how do i redownload them without buying them again?

    I have purchased two separate audio books and they just skip around and wont play all the way thru. how do i redownload them without buying them again?

    How to report an issue with Your iTunes Store purchase

  • I have set up mail but it has 37000 mails to load, obviously very old stuff but how do I get rid without loading and deleting, take days?

    I have set up mail but it has 37000 mails to load, obviously very old stuff but how do I get rid without loading and deleting, take days?

    Go under settings, mail, contacts and calendars and then choose only to sync back 50 or 100 or 1000 mails. Chances are you don't really need the old ones on your device and it'll save room (I have mine set to 50)

  • I want to reset my bootcamp Windows 7 to factory setting. How would I do this without damaging or effecting my Mac data?

    I want to reset my bootcamp Windows 7 to factory setting. How would I do this without damaging or effecting my Mac data?

    If you want to erase the BootCamp Partition, you'd use the Bootcamp utility.
    Then that part of the Mac's hard disk drive may be available for use in OS X.
    {Or, if you want to install a clean Windows 7 in the same BootCamp partition
    you'd use the BootCamp utility to erase/install Windows in the same location.
    There is a BootCamp Support section in Apple Support online, and also there
    is a fairly OK ASC discussions area specific to that purpose. }
    But you may have to check to see if the partition map is correct for Mac OS X
    after you've used Bootcamp utility to remove Windows and the partition map.
    If you do not use the BootCamp utility to remove Windows, correctly or if a
    different method to install Windows was used, you'd have to move your Mac
    OS X system and applications off the computer to an external hard drive by
    use of a clone utility (carbon copy cloner, or superduper, etc) then use the
    OS X disk utility (from running clone, is easiest) to erase the computer's HD
    and then correctly partition map and format the hard drive for Mac OS X.
    At that point, the entire drive would be erased to reclaim any untouched
    partitions from alternative Windows utilities that were used, or not used in
    the time frame of proper opportunity.
    I've had a few Macs that had been partitioned for Windows and found one
    second hand MacBook to have more actual hard disk drive capacity than
    the previous owner and the Mac HD info suggested on first glance. About
    70% of the drive had been a Windows partition, but was invisible to OS X.
    So that turned out to be a lucky find, it was like installing a larger HDD.
    The wording of your question leaves a lot
    of important information out of the picture.
    Good luck!
    edited

  • My ex set up my ipod on his laptop, i have locked it as i couldnt remember the password, how can i unlock it without losing everything on it???

    my ex set up my ipod on his laptop, i have locked it as i couldnt remember the password, how can i unlock it without losing everything on it???

    You can't. You will have to place the iPod in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    The screen-lock passcode is a good security feature.

  • Photoshop cs6 crashes with "appcrash - module ig75icd64.dll; no problem for a local admin user however. i've tried giving specified user full access to photoshop.exe and set it to Win XP compatibility. how do i fix this without giving user local admin acc

    photoshop cs6 crashes with "appcrash - module ig75icd64.dll; no problem for a local admin user however. i've tried giving specified user full access to photoshop.exe and set it to Win XP compatibility. how do i fix this without giving user local admin access?

    Danny,
    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

Maybe you are looking for

  • BPM build for asyc to sync to async scenario

    Hi , I have a scenario where 1. abap proxy  triggers and sends no of records and sequence id... 2. i'l update the JDBC recvr 3.the JDBC sends an acknowledgement no of  records updated. kindly help how to build a BPM for this scenario to compare the n

  • Link DNS to external IP

    Heya Guys, I have a Mac Mini with two partitions one is a standard server and the other one is an advanced server. The standard server uses its IP address as its DNS name and ISP DNS server, the advanced one uses its own DNS though, but I don't know

  • Center image on canvas

    Hi, the following code scales an image (srcImage) to a maximum size (maxSize). My aim is to center this image on a square canvas of maxSize. The existing code so far:   public BufferedImage fitImage(BufferedImage srcImage, int maxSize)     // determi

  • Comment réinitialiser le code de restriction sur ipad (Version 5.1.1)

    Bonjour, aprés mes multiples recherches, je me rend compte que je ne suis pas tout seul à avoir oublier cette saloperie de code de restriction installé un soir à la va-vite pour empecher mes enfants d'avoir accés a certaine applis et bien sûr quelque

  • Ibook memory help on DDR SDRAM SO-DIMMs

    I just pruchased the 1 GBPC2700 DDR333 SO-DIMMs memory module and have followed the installation procedure from User's guide. It was pretty easy. I repeated the process and my computer does not recognize the new memory. What am I doing wrong?