Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7684529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:02:49+00:00 2026-05-31T19:02:49+00:00

I am getting intermittent and hard to track CoreData exceptions when trying to delete

  • 0

I am getting intermittent and hard to track CoreData exceptions when trying to delete an object from a UITableView.

There’s a lot of discussion of this on SO, but they’re all specific to a variety of implementations and hard to apply to your own as far as best practice. The tutorials I’ve seen are helpful for setting up, but not so great at teaching you to problem solve your situation.

What are the best methods to debug/problem solve CoreData errors of this type, and what is the expected flow for correct execution?

Errors like this one:

Serious application error. An exception was caught from the delegate
of NSFetchedResultsController during a call to
-controllerDidChangeContent:. Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section
after the update (3) must be equal to the number of rows contained in
that section before the update (3), plus or minus the number of rows
inserted or deleted from that section (0 inserted, 1 deleted) and plus
or minus the number of rows moved into or out of that section (0 moved
in, 0 moved out). with userInfo (null)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:02:50+00:00Added an answer on May 31, 2026 at 7:02 pm

    The problem actually was caused by a superfluous FetchedResultsController with the UITableView set as its delegate (there’s a discussion here: stackoverflow.com/a/9755379/459116 )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are getting intermittent problems on a production server that we cannot recreate. There
We're getting a very intermittent (like every few weeks someone complains about this) primary
I'm getting intermittent Error 101 connection reset and Error 15 Socket Not Connected from
I am getting an intermittent out of memory exception at this statement: return ms.ToArray();
I am getting this intermittent error for some visitors to my site where even
Recently, I've been getting intermittent error reports from my app claiming unrecognized selector in
I’m getting an intermittent false negative on the following line of code in an
I'm getting some strange, intermittent, data aborts (< 5% of the time) in some
I've been getting these errors intermittently from sending email from my django app. I
Getting the subdomain from a URL sounds easy at first. http://www.domain.example Scan for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.