间歇性 Umbraco 异常

发布于 2024-08-03 10:09:21 字数 1077 浏览 2 评论 0原文

这是一个间歇性异常,在 IIS 6 中运行的 Umbraco 3.0.4 中间歇性地发生。

当 umbraco 用户登录并选择要编辑的文档时,他们偶尔会收到此错误...

[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +242
umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +832
umbraco.cms.presentation.editContent.OnInit(EventArgs e) +442
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692

一旦发生错误,它将持续存在于每个登录的用户中到 umbraco,直到我们重新启动应用程序池(它在自己的应用程序池中运行),因此它一定是某些全局状态被损坏,但它可以运行几天而不会出现问题,但随后可能需要在一天内重新启动多次。

如果我调试到应用程序,它总是可以工作,如果我在服务器上以损坏状态运行 debugvw,它不会给我任何更多信息。 (除了 HTTP 引用)

网络上有很多死胡同的帖子,例如 这个但似乎没有提供任何具体的重现方法。

我知道可能性很小,但是这里有人经历过并解决过这个问题吗?

不幸的是,目前无法选择升级。

谢谢大家。

This is an intermittent exception that occurs intermittently in Umbraco 3.0.4 running in IIS 6

When an umbraco user logs in and selects a document to edit occasionally they get this...

[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +242
umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +832
umbraco.cms.presentation.editContent.OnInit(EventArgs e) +442
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692

Once the error has occurred, it will persist for every user logged in to umbraco until we restart the application pool (it's running in it's own) so it must be some global state being corrupted, but it can run for days without a problem, but then can require a number of restarts in a day.

If I debug in to the app it always works and if I run debugvw on the server in a broken state it doesn't give me any more information. (other than the HTTP referer)

There are a number of dead end posts all over the web like this one but none seem to provide any concrete ways to reproduce.

I know it's a long shot, but has anyone here experienced and resolved this issue?

Upgrading is unfortunately not an option at the moment.

Thanks everyone.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡の花香 2024-08-10 10:09:21

我也遇到过这个问题。但我们无法解决它。我们最终升级了。您是否尝试过进行小升级?

I have had this problem too. But we could not resolve it. We ended up upgrading. have you maybe tried doing a minor upgrade?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文