堆栈跟踪抱怨旧的不存在的代码

发布于 2024-12-25 02:25:07 字数 178 浏览 0 评论 0原文

我已经从头开始完全更改了一段代码,重新使用同一个类。更改是将自由输入日期字段更改为日期条目,仅使用日历选择器。它适用于所有系统,但它会抛出堆栈跟踪,抱怨已更改的类中没有 startDate 的 getter 方法。经验证,所有更改均已合并,并且即使在其无法运行的系统上也存在。可能是什么问题?我应该检查什么?我完全迷失了这一点,感谢任何帮助。

I have changed a piece of code completely from scratch re-using the same class. Changes were making a free-entry date field to a date entry, only with a calendar picker. It works on all systems, except one where it throws a stack trace complaining there are no getter methods for startDate in the class which was changed. It has been verified that all changes were merged and exist even on the system in which it doesn't work on. What could be the problem? What should I look into? I am completely lost on this one and any help is appreciated.

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

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

发布评论

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

评论(1

失而复得 2025-01-01 02:25:07

听起来您可能已经在系统上获得了该类本身的新版本,但没有替换使用该类的代码。查看堆栈跟踪中的调用者,并检查它的版本

Sounds like you may have got the new version of the class itself on the system, but not replaced the code that was using that class. Look at the caller in the stack trace, and check what version that is.

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