堆栈跟踪抱怨旧的不存在的代码
我已经从头开始完全更改了一段代码,重新使用同一个类。更改是将自由输入日期字段更改为日期条目,仅使用日历选择器。它适用于所有系统,但它会抛出堆栈跟踪,抱怨已更改的类中没有 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您可能已经在系统上获得了该类本身的新版本,但没有替换使用该类的代码。查看堆栈跟踪中的调用者,并检查它的版本。
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.