NoSuchElementException when deleting messages from FacesContext

I'm using JSF 1.1 specification
I'm deleting messages from FacesContext to avoid duplicate ones. But sometimes, I'm getting the NoSuchElementException in my jsf page when I do a reload.
Caused by: java.util.NoSuchElementException
     at java.util.AbstractList$Itr.next(AbstractList.java:427)
     at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlMessagesRendererBase$MessagesIterator.next(HtmlMessagesRendererBase.java:388)
     at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlMessagesRendererBase.renderList(HtmlMessagesRendererBase.java:102)
     at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlMessagesRendererBase.renderMessages(HtmlMessagesRendererBase.java:80)
     at org.apache.myfaces.renderkit.html.ext.HtmlMessagesRenderer.encodeEnd(HtmlMessagesRenderer.java:52)
     at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:775)
     ... 84 more
Does any one know how to workaround this problem?
Thanks.

Do you mean mail?
If so, then this should be the way it works with an IMAP account.
Do you have a POP account?  pop accounts are really not designed for use with multiple devices/computer, while IMAP is designed for just this.

Similar Messages

  • Delete messages from server when deleted from iTouch doesn't work

    Hi everybody,
    Two questions really...
    One is that with my 2nd gen iTouch I was able to set IMAP settings and it would show all of the folders (other than Inbox) that I have created on my mail account. The 4th gen iTouch doesn't seem to let me see the sub-folders.
    The second is that I have my account set to delete messages from the server when they are deleted from my Inbox, but that simply doesn't work.
    This is withe the iTouch 4 and OS 4.1 (8B117)
    Any suggestions?
    Thanks

    Is it possible that I have the wrong Server Port entered? I didn't fill in that field at all. I think it was filled in automatically. I guess I would have to contact my hosting company's support team to know what the server port is.

  • When I try to delete messages from iMessage my iPad freezes and I have to do a restart...once it's restarted...all the deleted messages are back

    when I try to delete messages from iMessage my iPad freezes and I have to do a restart...once it's restarted...all the deleted messages are back

    I have this exact same issue. I posted it in another message link. No fix yet.

  • When i try to delete messages from my email in box, they turn into a "No Sender" email and I cannot delete these.....

    when i try to delete messages from my email in box, they turn into a "No Sender" email and I cannot delete these.....

    Hello there, Paso Kid.
    The following Knowledge Base articles provide some assistance with locating content in your iTunes Library:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    and
    Where are my iTunes files located?
    http://support.apple.com/kb/HT1391
    If you have already reviewed those steps and still cannot find the songs you purchased from iTunes, delete the songs and download them again using the information in this article:
    iTunes 11 for Windows: Download previous purchases from the iTunes Store
    http://support.apple.com/kb/PH12491
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Delete messages from server?

    Hi Guys,
    I have a question regarding mail management.
    Here is my situation:
    I have a GMX e-mail account; when I manage my e-mail on a computer (any computer), I always use the web-based e-mail straight from the website. I have this e-mail address configured in Mail on my iPad as an IMAP account. When I check my mail via iPad, it shows me my current inbox, but if I delete messages from iPad, it moves the message to trash, but does not reflect this on the server. So when I go to login to my account from a regular computer, any e-mail(s) that I have deleted through my iPad are still in my inbox at the GMX website.
    On my iPad, I have turned Push to Off and I have Fetch set to manual, whenever I launch Mail. I have tried hitting the refresh on my iPad after I move a message to Trash, and my iPad's Mail settings are set to move deleted items to the "Trash" folder on the GMX server. Sending and receiving e-mails are no problem.
    What am I doing wrong here? I am tired of deleting messages on my iPad (such as spam) and then having to go onto a computer and login to GMX and delete them again.
    Btw, same exact issue on my iPhone with exact same e-mail settings.
    Thanks,
    Emile

    Thanks for the tip, Ralph.
    I just went over to the GMX website and went to their support forum and apparently this is a known problem when accessing e-mail through an IMAP or POP3 e-mail client. A post was made at the end of August saying they are aware of the problem and are trying to fix it.
    I've had this issue with my GMX account since my first-generation iPhone and they've just realized it a month and a half ago. I wonder how long it's going to take for them to repair the issue, sheesh!
    I will mark this thread as resolved but since I just have to wait for GMX to fix the problem on their side. At least we got to the bottom of this, thanks for the help guys.
    Message was edited by: MrElussive

  • "Delete messages from server" Mail iPhone 5

    Hi, I am trying to locate "delete messages from server" option in Mail Settings on iPhone 5 and can't find it. In iPhone 4 it was just in the Advanced settings but it is not there in iPhone 5. Help please? Thanks

    Not sure who your email provider is. Mine is hotmail. When you set up email with hotmail on an iPhone 4 the delete from server never is available. I just got an iPhone 5, i reset up my hot mail account and can't find that setting either. I set it up by using the hotmail button not "other" so meaning delete your hotmail account from your phone. Then re set it up. But when you do add email account, don't use the button that says hotmail. Use the bottom choice that says "other". I have no idea why this is different but if you do this it will set up hotmail just the same. But now that setting is there. The "delete from server" and you set it to "never". Now when you delete the emails from your hot mail account on the iPhone, it leaves that email on the hotmail server. So when you look at email on the computer it's there still. It's good this way if you share email with someone.

  • How to delete message from the fodler of  AOL account using Java mail

    Hello All,
    I am using Java MAil API in my application, i want to delete message from AOL account's folder,
    when i set the folder as "Recently Deleted" or "Trash" , i get an exception as "folder does not exist".
    when i tested , some times mail is moving into Recently Deleted folder, but not every time.
    this is happening in both the interface as AOl Interface or my application.
    when i use folder.close(true) after setting the flag of message as DELETED. it completely remove the message from the acount.
    but i want to let the message be remained in the Recently Deleted folder. what should i do.
    i dont want to remove the message completely from the account.I am using IMAP also.

    You'll need to figure out what the real name of the "Recently Deleted" folder is on the AOL IMAP server
    (assuming it's a real folder and not some sort of "virtual" folder), then copy the message into that folder.
    See the folderlist.java demo program as a way to explore the names of all the folders on the server.

  • Outlook 2010 not deleting messages from Deleted Messages

    I have Outlook 2010 standalone on a 64-bit Win Pro system.  I have settings to empty Deleted Messages at exit and to delete messages from the server when downloaded by this instance of Outlook (POP3).
    BUT ... when I exit Outlook, I get the dialogue about ok to delete messages, I accept deletion, and when I restart Outlook, not only are the messages back in the Deleted Messages folder, but the messages I deleted in the last session are back in the Inbox
    and Junk Email folders!  Manually emptying the Deleted Messages folder does not solve the problem.
    And yes, I have checked that I have my POP3 settings in Outlook correctly set.

    Could you just check this?
    In Outlook 2010 Click the File tab, Click Account Settings, Click on account settings again, Hightlight existing email account, click change, click more settings..., click Advanced tab, in Delivery section uncheck box "Leave a copy of message on the server.",
    click OK, click next, after test email has been sent click close, click finish
    BR
    Mads 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Is there a way to recover deleted mail from my iPad and recover deleted messages from my onw iPhone?

    Is there a way to recover deleted mails sent from iPad and/or recover deleted messages from my iPhone?
    A software or even open it? It is very important for me get back the messages sent on December. I did not have a back up at that time, at least that I know, but I change my iPhone and had as I got a micro chip, I could take my contacts from iTunes.
    Does it means a back up was done at the Note book I used that time or the messages are lost?
    And my mails? From my server, I can recover only from 5 last days!
    Thank you for any help!!

    Thanks for replying - no, I had not done a backup since the shots were taken and then attemped to put them in an album as I did not want to change the enviornment of the phone from when I had inadvertently delted them.   Unfortunatlely, when asked "Do you want to delete these photos from all locations," I hit yes and they were also deleted from my Photostream. 

  • Need a way to permanently delete messages from iphone, even after syncing it with itunes it shows up in search history

    Need a way to permanently delete messages from iphone, even after syncing it with itunes it shows up in search history

    Before iOS 7 I NEVER searched internet for "how to do ... on iPhone ?". Now it's my third time when I cannot find a function to delete all messages on iPhone, that should be and was obvious in previous versions of iOS. To Erase iPhone Contacts, SMS and Photo Permanently,you must to use a iPhone data eraser software.
    This use guide about how to deleted iPhone contacts, message:  How to erase all messages from iPhone permanently

  • Deleting Messages from Pop Server

    I downloaded the new software and now my phone is deleting messages from the server when I delete the message from my phone. I checked the phone settings and it was set on "never" under deleting from server. Is this a bug in the new software. Is there a fix?

    Wjosten,
    Thanks for your continued responses.
    How old is the info you got regarding Earthlink settings? I went through both my account settings, and my Webmail settings, and could not find the exact settings below. In fact, this seems to be more of a setting when you set up a desktop mail client (e.g. Part of Outlook setup). See here for an example: http://support.earthlink.net/articles/email/setting-up-outlook-2007-to-send-and- receive-email.php (it is on the last screenshot)
    Regardless, I only use the webmail, and I thought that if I delete mail on the iPhone, then the setting on the iPhone to delete mail from the server should do that.
    Any thoughts on whether there is something buggy with the iPhone? I had another strange iPhone problem which was fixed by deleting the acccount, logging into Gmail and recreating the account. The problem was that Gmail on the iPhone would let me send new mail, but if I tried to Reply to a message, it would not work and the error was that there was no password!

  • Phone not deleting messages from the server

    Please help! My Blackberry Curve 9360 is not deleting messages from the server meaning that, after returning home from a week working away, i've still got a few hundred messages to wade through on my PC.
    I receive e-mails on the PC via Outlook Express. I've clicked on 'tools', 'accounts' then 'advanced' to ensure that the box for 'leave a copy of the message on the server' is unchecked i.e. messages sould be being deleted from the server when prompted to by the phone but this is not happening. Not sure what else to try or perhaps there was something i did / didn't do during the set-up of the phone.
    Any guidance would be much appreciated.
    Thanks in advance,
    Barry.

    Hello,
    Please check this KB:
    KB05133 Email reconciliation features for the BlackBerry Internet Service
    All reconciliation capabilities between your BB and your email SERVER are governed by that KB. So, even if you set the other settings (e.g., "Delete On") correctly, they will be irrelevant if your email service does not support it (as per that KB).
    Further still, reconciliation between your email SERVER and your PC CLIENT software are something completely separate. Only in a very few circumstances (e.g., IMAP) does (for instance) Outlook reconcile items deleted at the Server down to the PC Client.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Deleting Messages from Server Using Different Computers

    I access my mail from a number of different computers and devices and I would like to be able to delete a message from the server when I delete it from any of the computers/devices so that when I check my mail from a different computer/device, the previously deleted message is no longer there.
    As it is now, the only option I seem to have is to remove the message from the server after I have retrieved my mail. As a result, I have to maintain one master computer for my mail and only when I delete messages from that computer are they deleted from the server.
    So, is there a way to delete a message from the server after I have deleted it from any of my computers or devices?
    BTW, I am using a POP account.

    I'm using Imap (1and1.com) I have noticed that when email gets automatically deleted off my sever it's later missing from Mail. I cannot find any setting in Mail to keep all my email or a setting on my server to keep my mail. I often have to refernce back to business emails.
    Help...

  • Phone is freezing when deleting messages

    I can't delete messages from my 4s. Phone freezes when I try to delete them. Only way it unfreezes is turning it off and back on and the messages are still there. Tried a reset and that didn't work.Help!!!

    Hello mhege,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    Have a nice day,
    Mario

  • TS2755 Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help of how to set up messages on each

    Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks

    search google for "iphone remove picture from contact"

Maybe you are looking for

  • Is this concept possible/feasible?

    Hey everyone. So I am considering a very ambitious and complicated project and I wanted to get some experts opinion on if its possible first of all, and if I am on the right path with the right program to accomplish my goal. First some background: I'

  • How do i change my passcode back to 4 digits

    Hi I had my simple 4 digit passcode set up and for some reason ive accidently managed to change it to the longer 8 digit passcode option which i dont want. The passcode lock section wont allow me to select the simple passcode bit as it is greyed out

  • I want the list sql queries performed someone in one session based

    V$SESSION V$SQLTEXT and audsid (taken from sys_context('USERENV','SESSIONID') ) are great .. session_id be generated by a trigger when the application logs on) but then uploading the list of sql queries made by that user (application) until they log

  • External Firewire Camera

    I got this e-mail from somebody I know: "I have a question about webcams. I think it would be fun for our grandchildren if we had one of those little cameras that mount on top of the screen so that you can see yourself on screen. I looked at CompUSA

  • BADI'S,IDOC'S

    HOW TO WORK ON BADIS AND IDOCS USING LSMW. CAN ANY ONE SEND ME DOCUMENTATION REGARDING THIS TOPIC'S AND A SAMPLE PROGRAMS ON THESE.POST ME TO [email protected]                                            THANK U