gpt4 book ai didi

iphone - iOS - "Too Many Contexts"错误?

转载 作者:行者123 更新时间:2023-11-28 22:57:11 24 4
gpt4 key购买 nike

我的应用程序(正在开发中,iOS 5.1)偶尔会崩溃并显示以下消息:

由于未捕获的异常“NSInternalInconsistencyException”而终止应用程序,原因:“上下文太多。 contextList 中没有空格。'

谷歌搜索此消息返回零结果。

我正在使用从 AppDelegate 单例中获取的单个 NSManagedObjectContext,简单明了,没有技巧。

有什么想法吗?

最佳答案

您可能在构造过程中有一些对象递归到自身,可能在 allocinit 中。

你也可以为“All Exceptions”设置一个异常断点,看看什么被捕获了...

关于iphone - iOS - "Too Many Contexts"错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10555523/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com