0

当我在 Team Synchronizing 透视图中将文件“标记为合并”时,会显示一个弹出窗口,它只显示以下内容:

“标记为合并”期间发生内部错误。java.lang.NullPointerException

然后我的更改在一个新文件 *.tmp 中,真实文件包含服务器版本。

你有没有遇到过这个并以某种方式修复它?

编辑:版本和堆栈跟踪

版本:

  • SVN 1.7.9
  • 日食朱诺
  • 视窗XP
  • 子剪辑 1.8.19

NPE 的堆栈跟踪:

java.lang.NullPointerException
at org.tigris.subversion.subclipse.ui.operations.UpdateOperation.getSchedulingRule(UpdateOperation.java:129)
at org.tigris.subversion.subclipse.ui.operations.RepositoryProviderOperation.execute(RepositoryProviderOperation.java:70)
at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
at org.tigris.subversion.subclipse.ui.subscriber.MarkMergedSynchronizeOperation$1.execute(MarkMergedSynchronizeOperation.java:74)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:375)
at org.tigris.subversion.subclipse.ui.subscriber.MarkMergedSynchronizeOperation$3.run(MarkMergedSynchronizeOperation.java:153)
at org.tigris.subversion.subclipse.ui.subscriber.MarkMergedSynchronizeOperation$4.run(MarkMergedSynchronizeOperation.java:162)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at org.tigris.subversion.subclipse.ui.subscriber.MarkMergedSynchronizeOperation.run(MarkMergedSynchronizeOperation.java:159)
at org.tigris.subversion.subclipse.ui.subscriber.MarkMergedSynchronizeOperation.run(MarkMergedSynchronizeOperation.java:56)
at org.tigris.subversion.subclipse.ui.subscriber.SVNSynchronizeOperation.run(SVNSynchronizeOperation.java:61)
at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
4

1 回答 1

1

这是 Subclipse 1.8.19 中的一个错误。

http://subclipse.tigris.org/issues/show_bug.cgi?id=1498

在 1.8.20 版本中修复。因此,如果可能,请将您的 Subclipse 版本升级到最新版本,目前是 1.8.22。

于 2013-07-29T13:42:39.050 回答