No entry for mailbox id X in the cache; this should never happen

I'm getting a lot of this in my logs... Any ideas how to fix it?
Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 36 in the cache; this should never happen
Feb 2 12:48:05: --- last message repeated 9 times ---
Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 51 in the cache; this should never happen
Feb 2 12:48:05: --- last message repeated 1 time ---
Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
Feb 2 12:48:05: --- last message repeated 7 times ---
Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 22 in the cache; this should never happen
Feb 2 12:48:05: --- last message repeated 2 times ---
Feb 2 12:48:05 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 50 times ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 52 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 1 time ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 1 time ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 40 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 3 times ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 46 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 5 times ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 2 times ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 2 times ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 2 times ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
Feb 2 12:48:06: --- last message repeated 6 times ---
Feb 2 12:48:06 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
Feb 2 12:48:07: --- last message repeated 3 times ---
Feb 2 12:48:07 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
Feb 2 12:48:07: --- last message repeated 2 times ---
Feb 2 12:48:07 ssh-4 Mail[282]: no entry for mailbox id 47 in the cache; this should never happen
Feb 2 12:48:12: --- last message repeated 2 times ---
Feb 2 12:48:12 ssh-4 Mail[282]: no entry for mailbox id 26 in the cache; this should never happen
Feb 2 12:48:15: --- last message repeated 5 times ---
Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 32 in the cache; this should never happen
Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 32 in the cache; this should never happen
Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 33 in the cache; this should never happen
Feb 2 12:48:15 ssh-4 Mail[282]: no entry for mailbox id 32 in the cache; this should never happen
Feb 2 12:48:16 ssh-4 Mail[282]: no entry for mailbox id 28 in the cache; this should never happen
Feb 2 12:48:46: --- last message repeated 2 times ---

I have determined exactly what this is.
In the folder:
/Library/Mail/AccountTypes/com.apple.builtin.mailaccounts/
There is a list of different mail account types in a file called "MailAccounts.plist". When the Console gives you an error message, it will specifically state ..."mailbox id ## in the cache", which corresponds to an entry in this file.
This plist file must be modified. I have not tried flat out deleting the file, but if you can get the developer tools, you can easily delete the offending entries.
To delete the bad entries:
NOTE: If you have to delete multiple entries, delete the ones with the largest index (i.e. "id 999999") FIRST.
1. Open MailAccounts.plist in the Property List Editor
2. Under the root triangle, click the "Multiple" triangle (this shows you the actual entries)
3. Starting with the highest mailbox number, delete each entry "Item #" by highlighting the node and pressing the "Delete Item" button on the toolbar.
4. Repeat until all your console errors are accounted for.
5. Save the file: File >> Save
You can exit the Property List Editor. Open Mail and wait a few seconds, then check the console for error messages. If there are no more error messages, you're set! Otherwise go back and try deleting the offending item(s) again.
Time Machine is your friend if you don't get it right the first time.
HTH

Similar Messages

  • Mail: no entry for mailbox id 2 in the cache; this should never happen

    My system log is full of thousands of errors from Mail:
    3/20/15 5:26:50.009 PM Mail[7303]: no entry for mailbox id 2 in the cache; this should never happen
    It appears to generate a few hundred of these entries every time I launch Mail, check for new mail, or click on any of my mailboxes in Mail. There's a noticeable power drain and hit to responsiveness when this occurs.
    What I've tried so far:
    Restarting Mail
    Mailbox > Rebuild
    Editing Accounts.plist to remove the mailbox with id 2
    Deleting cache.db
    Deleting all accounts from Mail and recreating one at a time
    Deleting com.apple.mail from Containers
    I have no third-party add-ons installed. My mail accounts are IMAP (Gmail and a personal domain account). I'm on a 13" MBP Retina, Yosemite 10.10.2, Mail version 8.2 (2070.6).
    Does anyone have an idea as to what's causing this error spam?

    Is Mail working properly? If so, ignore the Console messages.

  • No entry for mailbox id ... in the cache; this should never happen

    I'm seeing this in my Console Log. Multiple entries for specific ids (see below). Should I be concerned? (I am not really concerned about the "this should never happen," having been a programmer and supervised programmers.)
    I've got the latest system patches. I have AttachmentsScannerPlugin.mailbundle, Imap-idle-plugin.mailbundle, MailActoOn.mailbundle, and MailFollowup.mailbundle.
    Thanks!
    Fred
    From the log:
    2006-10-03 10:20:58.308 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.324 Mail[6088] no entry for mailbox id 153 in the cache; this should never happen
    2006-10-03 10:20:58.326 Mail[6088] no entry for mailbox id 153 in the cache; this should never happen
    2006-10-03 10:20:58.328 Mail[6088] no entry for mailbox id 153 in the cache; this should never happen
    2006-10-03 10:20:58.329 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.331 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.333 Mail[6088] no entry for mailbox id 137 in the cache; this should never happen
    2006-10-03 10:20:58.370 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.373 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.376 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.379 Mail[6088] no entry for mailbox id 185 in the cache; this should never happen
    2006-10-03 10:20:58.388 Mail[6088] no entry for mailbox id 139 in the cache; this should never happen
    2006-10-03 10:20:58.391 Mail[6088] no entry for mailbox id 157 in the cache; this should never happen
    2006-10-03 10:20:58.623 Mail[6088] no entry for mailbox id 175 in the cache; this should never happen
    ...

    The following procedure would probably solve the problem if the plugins were properly uninstalled first. I don't know whether it'll work in the current situation:
    1. Quit Mail.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong -- e.g. by dragging it to the Desktop while holding the Option (Alt) key down.
    3. Locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
    4. Move any "IMAP-", "Mac-", or "Exchange-" account folders to the Trash. Note that you can do this with IMAP-type accounts because they store mail on the server and Mail can easily re-create them. DON'T trash any "POP-" account folders, as that would cause all mail stored there to be lost.
    5. Open Mail. It will tell you that your mail needs to be "imported". Click Continue and Mail will proceed to re-create Envelope Index -- Mail says it's "importing", but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    Note: For those not familiarized with the ~/ notation, it refers to the user's home folder, i.e. ~/Library is the Library folder within the user's home folder.

  • When I click on my finder to put a new folder on my desktop, it apears  on the desktop nut it conatins all the files on my desktop. What I want is a new untitled folder. By the way, this has never happened before, in my many years of using imacs

    When I click on my finder to put a new folder on my desktop, it apears  on the desktop nut it conatins all the files on my desktop. What I want is a new untitled folder. By the way, this has never happened before, in my many years of using imacs

    Are you sure you are choosing "new folder" rather than "new folder window" - new folder results in an empty "untitled" folder on my desktop whereas new folder window shows all my files.

  • Why am I being asked for my billing info for updating free apps? This has never happened before! Now I can't update anything. Is there anyway around this?

    I am being asked to provide my billing info for updating free apps... This has never happened before. I don't have a credit card so is there anyway around this??

    The only way is to create an Apple ID without a credit card. The one you currently created will not work, it has to be a new one, and use this support document to do it. http://support.apple.com/kb/ht2534 Make sure you follow the directions exactly.

  • How do I clear out multiple entries for a persons name in the Faces selection?

    Can I get some help clearing up multiple entries in the "Click to Name" dialog box in iPhone 9.6?
    Here's the behavior I'm seeing:
    When I try to assign a name to a Face by clicking the "Click to Name" option, I start typing in my son's name and iPhone is showing me 15 entries for his name.
    Of the 15 options, only 1 of them shows a mini-thumbnail photo of him, and a different one suggests that it's from the Contacts app, but the rest of them are blank.
    This behavior is not happening for any of the other Faces in the library.
    In terms of troubleshooting, I've opened Apple Contacts and ensured there is only 1 contact record for him (there are 2 email address listed). I've selected Library > Faces > And I see one polaroid image in the list for my son. In the past if there were multiple listings here I've seen similar results. I'm not sure what else to try.
    What causes these to be duplicated?

    I spoke with Apple Support today and they provided a workaround:
    I had 7 entries for a person.
    Find untagged photo with person in it. Select Entry 1
    Find untagged photo with person in it. Select Entry 2
    Repeat until you have at least 1 photo tagged with each of the 7 entries
    Now go back to Faces and you'll see 7 polaroids listed.
    Select each of them and merge them.
    Problem solved.

  • HT204053 Apple offered to install iCloud, and I allowed it. Yet when I try to sign in to iCloud using my Apple ID email and pswrd--an ID that I've been using for YEARS--I'm given the message, "This Apple ID is valid but is not an iCloud account." What is

    To repeat my question, Apple offered to install iCloud, and I allowed it. Yet when I try to sign in to iCloud using my Apple ID email and pswrd--an ID that I've been using for YEARS--I'm given the message, "This Apple ID is valid but is not an iCloud account." What is going on?
    Everywhere I search on Apple's Support site says to sign in to iCloud using your "Apple ID," which I did. I've had my iTunes account for years (even migrated from the old AOL account system). It's the standard email+password that everyone is supposed to use.
    My main question is how can I have a valid Apple ID and not an iCloud account--if the two are supposed to be linked?
    Thank you for any help you can give me!
    tlj

    I've tried both. First, I tried on my pc, where iTunes had installed iCloud when it last updated. I have iTunes installed on this computer (and on my iPad and iPhone), but that wasn't the issue.
    So I went online, thinking I needed a separate iCloud Apple ID, but it prompted me for my current Apple ID and gave me the message about my ID being "valid" but not an iCloud account," which, lol, was what it had asked me to do in order to create one. I checked, and at least one other user is having the same issue. I'll attempt to copy/paste the Support request url: https://discussions.apple.com/thread/4430653?tstart=0
    Thank you for any help you can give.
    Trish

  • My phone is no wifi. I can not select the button. this situation has happened to me several times and I have spent lots of money on repairs. what can I do?

    my phone is no wifi. I can not select the button. this situation has happened to me several times and I have spent lots of money on repairs. what can I do?

    Bring your phone to Apple for evaluation and replacement.  It's broken.  There's no magic we can provide you.

  • Exception Handling Standards -The exception Exception should never been thrown. Always Subclass Exception and throw the subclassed Classes.

    In the current project my exception handling implementation is as follows :
    Exception Handling Layer wise :
    DL layer :
    catch (Exception ex)
    bool rethrow = ExceptionPolicy.HandleException(ex, "Ui Policy");
    if (rethrow)
    throw;
    BL Layer
    catch (Exception ex)
    bool rethrow = ExceptionPolicy.HandleException(ex, "Ui Policy");
    if (rethrow)
    throw;
    UI Layer
    catch (Exception ex)
    bool rethrow = ExceptionPolicy.HandleException(ex, "Ui Policy");
    if (rethrow)
    Response.Redirect("ErrorPage.aspx", false);
    We have a tool to check the standards. And tool output is as follows :
    The exception Exception should never been thrown. Always Subclass Exception and throw the subclassed Classes.
    I need suggestions on how to implement the same according to standards.

    Your tool is wrong if it says to never throw Exception.  This was a common recommendation back in the .NET v1 days but has long since been thrown out.  It is perfectly fine to use Exception when you have a general exception that provides no information
    that an application can use to make an informed opinion.
    The general rules of exception throwing is to throw the most specific exception that makes sense. If there is no specific exception that applies and it would be useful for the caller to handle the exception differently than other exceptions then creating
    a custom exception type is warranted.  Otherwise throwing Exception is reasonable. As an example you might have an application that pulls back product data given an ID. There is no built in exception that says the ID is invalid. However an invalid ID
    is something that an application may want to handle differently than, say, an exception about the product being discontinued.  Therefore it might make sense to create an ItemNotFoundException exception that the application can react to.
    Conversely there is no benefit in having different exception types for disk full and disk quota met. The application will respond the same in either case.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • [svn:fx-4.x] 14772: The check mark in the CheckBox components should never be mirrored, even if the label in the CheckBox is mirrored.

    Revision: 14772
    Revision: 14772
    Author:   [email protected]
    Date:     2010-03-16 07:14:46 -0700 (Tue, 16 Mar 2010)
    Log Message:
    The check mark in the CheckBox components should never be mirrored, even if the label in the CheckBox is mirrored.
    QE notes:
    Doc notes: None
    Bugs: SDK-25817
    Reviewed By: Kevin, Jason
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25817
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml
        flex/sdk/branches/4.x/frameworks/projects/sparkskins/src/mx/skins/spark/CheckBoxSkin.mxml

    What are you supposed to cast it to? I might have tried to cast it to something wrong.
    I tried
    TableCellRenderer tcr = table.getDefaultRenderer(Boolean.class);
    ((DefaultTableCellRenderer)tcr).setHorizontalAlignment(SwingConstants.LEFT);and that gave me a ClassCastException. But I might have been trying to cast it to the wrong thing.

  • I cannot open my photoshop, its asking for a serial number. I do have one but it will not accept it. I've had this program for 5 years and this has never happened before.

    I cannot open my photoshop. Its asking me for a serial number, which I already have. However, it will not accept my serial number. I've had this program for 5 years and this has never happened.

    If your Creative Suite version is #3 through 6, you might try running the CS Cleaner Tools in preparation for a re-install.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    If you have a legacy version, it may be that the activation servers for your product are no longer available.
    Nancy O.

  • I keep getting this message and PSCC will not open:Unable to start your subscription for Adobe Photoshop CC.  I keep trying again with no results.  I am on automatic pay system.  This should not happen.

    I keep getting this message and PSCC will not open:Unable to start your subscription for Adobe Photoshop CC.  I keep trying again with no results.  I am on automatic pay system.  This should not happen.
    I had it open a few minutes ago.  Closed it and went to reopen to no avail. How can I open and continue to work?

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • While trying to purchase a gift card to send via email, got a message this apple ID not eligible for purchase.  I've purchased many times before and this has never happened.  Does anyone know why?

    While trying to purchase a gift card to send via email, got a message this apple ID not eligible for purchase.  I've purchased many times before and this has never happened.  Does anyone know why?

    Re: ITunes will not let me send a gift certificate...Error message says: This Apple ID is not currently eligible to purchase gift certificates. I have a valid Apple ID so please tell me why this is happening if you know.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html
    Are you still using OSX 10.4.11? I thought the Store didn't work with Tiger.

  • TS2446 my itunes account is locked after i tried to log in. for some reason (this has never happened before) it asked to type in some security question answers such as what is my favorite car and job. and when i answered it, it suddenly locked my account.

    my itunes account is locked after i tried to log in. for some reason (this has never happened before) it asked to type in some security question answers such as what is my favorite car and job. and when i answered it, it asked me the question again and when I answered, it locked my account.

    Sorry for  the typos, I hope my message still gets across!

  • HT201303 When I want to download it ask me for my password than it goes right to a security screen asking me to answer three questions.  This has never happened to me before.  What do I do?

    When I want to download it ask me for my password than it goes right to a security screen asking me answer three questions I never set up.  This has never happened to me before.  What do I do?

    If it's a free app it won't charge you.   Perhaps the billing info you have on file is outdated/incorrect and iTunes needs to verify it before allowing you to download anything first.
    This is quite common actually.

Maybe you are looking for

  • Breaking one track into several fluidly

    I did a live recording all into one instrument track using the internal microphone on my Macbook. It sounds great, but I'm wanting to produce a CD from it and track each song individually. My problem, when I segment the show with garageband and then

  • Impact on roaming profile accounts if we Change User logon Name to Employee Number format in Active Directory for all User accounts

    I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in term

  • RFC Destination SAPHTTP Inaccessible from Archivelink

    Hi, I am working on a project to implement Archivelink in our SAP ECC 5.0 system. Our plan is to allow users to store documents in a content server which are linked to a GL account document in SAP. We have done the configuration successfully in a tes

  • Custom bsp template for MBO.

    1. I've copied hap_document bsp application to my own z*.  2. I created a BAdI implementation based on definition HRHAP00_BSP_TMPL. 3.  I've activated the implementation, went to the basic setting of OSA (transaction OOHAP_BASIC) and register the new

  • TM_52, Other changes in cap.structure

    Hi, - in transactions TM_51, TM_52 the user clicks on "Other changes in cap.structure" and adds a new line/s (1110 Principal Decrease) and clicks on "Copy" button. i´d need that when the user goes then to "Cash Flow" tab, the calculation of Flow Type