Eclipse Subclipse执行SVN Commit触发内部错误的原因排查
问题:Subclipse提交SVN失败排查
环境信息
- Eclipse版本:2024-03(4.31.0),Build id: 20240307-1437
- 通过Marketplace安装的Subclipse组件:
Subclipse 4.3.4.202306191346 Subversion 1.14 JavaHL 1.14.0.202005311413 Subversion Revision Graph 4.2.0.1 SVNKit Client Adapter 1.8.12.3
报错信息
执行SVN Commit操作时失败,错误提示:
An internal error occurred during: "SVN Commit". Unable to make field private java.lang.Throwable java.lang.Throwable.cause accessible: module java.base does not "opens java.lang" to unnamed module @45dab1cd
已尝试操作
卸载Subclipse、重启Eclipse后重新安装,问题仍存在。
2024-04-02 更新
本次为Eclipse全新安装,以下是eclipse.ini文件内容:
-startup plugins/org.eclipse.equinox.launcher_1.6.700.v20240213-1244.jar --launcher.library C:\Users\mbmas_000\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.900.v20240213-1244 -product org.eclipse.epp.package.jee.product -showsplash C:\Users\mbmas_000\.p2\pool\plugins\org.eclipse.epp.package.common_4.31.0.20240307-1200 --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclientjava -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Declipse.e4.inject.javax.warning=false -Dsun.java.command=Eclipse -Xms256m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Djava.security.manager=allow -Declipse.p2.max.threads=10 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/
日志文件内容:
!SESSION 2024-04-02 10:08:14.694 ----------------------------------------------- eclipse.buildId=4.31.0.20240307-1200 java.version=17.0.3.1 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product !ENTRY org.eclipse.emf.ecore 2 0 2024-04-02 10:08:23.230 !MESSAGE Both 'org.eclipse.jst.j2ee.core' and 'org.eclipse.jst.j2ee.core' register a package for 'application.xmi' !ENTRY ch.qos.logback.classic 1 0 2024-04-02 10:08:25.168 !MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. !ENTRY ch.qos.logback.classic 1 0 2024-04-02 10:08:31.980 !MESSAGE Logback config file: C:\Users\mbmas_000\workspace\.metadata\.plugins\org.eclipse.m2e.logback\logback.2.6.0.20240217-1525.xml !ENTRY org.eclipse.mylyn.tasks.core 2 0 2024-04-02 10:08:46.314 !MESSAGE !SUBENTRY 1 org.eclipse.mylyn.tasks.core 2 0 2024-04-02 10:08:46.315 !MESSAGE Unable to read task, missing connector with kind "bugzilla" !ENTRY org.eclipse.mylyn.tasks.core 2 0 2024-04-02 10:08:46.320 !MESSAGE !SUBENTRY 1 org.eclipse.mylyn.tasks.core 2 0 2024-04-02 10:08:46.320 !MESSAGE Unable to read task, missing connector with kind "bugzilla" !ENTRY org.eclipse.egit.ui 2 0 2024-04-02 10:09:01.683 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\mbmas_000'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.core.jobs 4 2 2024-04-02 10:09:44.062 !MESSAGE An internal error occurred during: "SVN Commit". !STACK 0 java.lang.reflect.InaccessibleObjectException: Unable to make field private java.lang.Throwable java.lang.Throwable.cause accessible: module java.base does not "opens java.lang" to unnamed module @1e6dbdb1 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178) at java.base/java.lang.reflect.Field.setAccessible(Field.java:172) at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1543) at org.tmatesoft.svn.core.javahl17.SVNClientImpl.commit(SVNClientImpl.java:504) at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:339) at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand$1.run(CheckinResourcesCommand.java:154) at org.tigris.subversion.subclipse.core.SVNProviderPlugin$6.run(SVNProviderPlugin.java:514) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2448) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2473) at org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin.java:508) at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand.run(CheckinResourcesCommand.java:119) at org.tigris.subversion.subclipse.core.SVNTeamProvider.checkin(SVNTeamProvider.java:132) at org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:129) at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:88) at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:155) at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:83) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
请求
排查该Subclipse提交失败的原因。
内容的提问来源于stack exchange,提问作者mbmast
相关产品推荐
相关产品推荐

