web-dev-qa-db-ja.com

サブクリップ:更新後のSVNのエラー(SVN設定ページを作成できません)

こんにちは、

私はこれまで問題なくEclipseとSubclipse(JavaHLを使用)を数か月使用しています。 一部のプラグイン(サブクリップを含む)の更新後昨日(つまり、13/03/19)、サブクリップは機能しなくなりました。たとえば、ファイルをコミットまたはプルすることができなくなり、window> preference> Team> SVN、Eclipseを確認すると次のメッセージを表示しました:Unable to create the selected preference page. Java.lang.reflect.InvocationTargetException

例外スタックトレースを以下に示します。

Java.lang.reflect.InvocationTargetException
    at Sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at Sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.Java:62)
    at Sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.Java:45)
    at Java.lang.reflect.Constructor.newInstance(Constructor.Java:423)
    at org.Eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.Java:206)
    at org.Eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.Java:934)
    at org.Eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.Java:246)
    at org.Eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.Java:63)
    at org.Eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.Java:284)
    at org.Eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.Java:51)
    at org.Eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.Java:1279)
    at org.Eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.Java:361)
    at org.Eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.Java:1166)
    at org.Eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.Java:675)
    at org.Eclipse.jface.preference.PreferenceDialog$5.lambda$0(PreferenceDialog.Java:660)
    at org.Eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.Java:72)
    at org.Eclipse.jface.preference.PreferenceDialog$5.selectionChanged(PreferenceDialog.Java:657)
    at org.Eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.Java:874)
    at org.Eclipse.core.runtime.SafeRunner.run(SafeRunner.Java:45)
    at org.Eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.Java:47)
    at org.Eclipse.jface.util.SafeRunnable.run(SafeRunnable.Java:176)
    at org.Eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.Java:871)
    at org.Eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.Java:1240)
    at org.Eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.Java:1263)
    at org.Eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.Java:84)
    at org.Eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.Java:264)
    at org.Eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.Java:259)
    at org.Eclipse.jface.util.OpenStrategy$1.lambda$2(OpenStrategy.Java:420)
    at org.Eclipse.swt.widgets.Display.timerProc(Display.Java:5566)
    at org.Eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.Eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.Java:1581)
    at org.Eclipse.swt.widgets.Display.readAndDispatch(Display.Java:4470)
    at org.Eclipse.jface.window.Window.runEventLoop(Window.Java:822)
    at org.Eclipse.jface.window.Window.open(Window.Java:798)
    at org.Eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.Java:214)
    at org.Eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.Java:66)
    at org.Eclipse.jface.action.Action.runWithEvent(Action.Java:476)
    at org.Eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.Java:568)
    at org.Eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.Java:400)
    at org.Eclipse.swt.widgets.EventTable.sendEvent(EventTable.Java:89)
    at org.Eclipse.swt.widgets.Display.sendEvent(Display.Java:5663)
    at org.Eclipse.swt.widgets.Widget.sendEvent(Widget.Java:1386)
    at org.Eclipse.swt.widgets.Display.runDeferredEvents(Display.Java:4931)
    at org.Eclipse.swt.widgets.Display.readAndDispatch(Display.Java:4472)
    at org.Eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.Java:1173)
    at org.Eclipse.core.databinding.observable.Realm.runWithDefault(Realm.Java:339)
    at org.Eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.Java:1062)
    at org.Eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.Java:156)
    at org.Eclipse.ui.internal.Workbench.lambda$3(Workbench.Java:636)
    at org.Eclipse.core.databinding.observable.Realm.runWithDefault(Realm.Java:339)
    at org.Eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.Java:563)
    at org.Eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.Java:151)
    at org.Eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.Java:155)
    at org.Eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.Java:203)
    at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.Java:137)
    at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.Java:107)
    at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.Java:400)
    at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.Java:255)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.Java:62)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.Java:43)
    at Java.lang.reflect.Method.invoke(Method.Java:498)
    at org.Eclipse.equinox.launcher.Main.invokeFramework(Main.Java:659)
    at org.Eclipse.equinox.launcher.Main.basicRun(Main.Java:595)
    at org.Eclipse.equinox.launcher.Main.run(Main.Java:1501)
    at org.Eclipse.equinox.launcher.Main.main(Main.Java:1474)
Caused by: Java.lang.LinkageError: Native library version must be at least 1.11.0,but is only 1.9.3 (r1718519)
    at org.Apache.Subversion.javahl.NativeResources.init(NativeResources.Java:150)
    at org.Apache.Subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.Java:111)
    at org.Apache.Subversion.javahl.types.Version.<clinit>(Version.Java:40)
    at org.Apache.Subversion.javahl.NativeResources.init(NativeResources.Java:147)
    at org.Apache.Subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.Java:111)
    at org.Apache.Subversion.javahl.SVNClient.<clinit>(SVNClient.Java:52)
    at org.tigris.Subversion.svnclientadapter.javahl.JhlClientAdapterFactory.isAvailable(JhlClientAdapterFactory.Java:184)
    at org.tigris.Subversion.clientadapter.javahl.Activator.isAvailable(Activator.Java:83)
    at org.tigris.Subversion.clientadapter.javahl.Activator.getVersionSynchronized(Activator.Java:72)
    at org.tigris.Subversion.clientadapter.javahl.Activator.getVersionString(Activator.Java:67)
    at org.tigris.Subversion.clientadapter.javahl.Activator.getDisplayName(Activator.Java:97)
    at org.tigris.Subversion.subclipse.ui.preferences.SVNPreferencesPage.<init>(SVNPreferencesPage.Java:102)
    ... 66 more
Root exception:
Java.lang.LinkageError: Native library version must be at least 1.11.0,but is only 1.9.3 (r1718519)
    at org.Apache.Subversion.javahl.NativeResources.init(NativeResources.Java:150)
    at org.Apache.Subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.Java:111)
    at org.Apache.Subversion.javahl.types.Version.<clinit>(Version.Java:40)
    at org.Apache.Subversion.javahl.NativeResources.init(NativeResources.Java:147)
    at org.Apache.Subversion.javahl.NativeResources.loadNativeLibrary(NativeResources.Java:111)
    at org.Apache.Subversion.javahl.SVNClient.<clinit>(SVNClient.Java:52)
    at org.tigris.Subversion.svnclientadapter.javahl.JhlClientAdapterFactory.isAvailable(JhlClientAdapterFactory.Java:184)
    at org.tigris.Subversion.clientadapter.javahl.Activator.isAvailable(Activator.Java:83)
    at org.tigris.Subversion.clientadapter.javahl.Activator.getVersionSynchronized(Activator.Java:72)
    at org.tigris.Subversion.clientadapter.javahl.Activator.getVersionString(Activator.Java:67)
    at org.tigris.Subversion.clientadapter.javahl.Activator.getDisplayName(Activator.Java:97)
    at org.tigris.Subversion.subclipse.ui.preferences.SVNPreferencesPage.<init>(SVNPreferencesPage.Java:102)
    at Sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at Sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.Java:62)
    at Sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.Java:45)
    at Java.lang.reflect.Constructor.newInstance(Constructor.Java:423)
    at org.Eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.Java:206)
    at org.Eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.Java:934)
    at org.Eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.Java:246)
    at org.Eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.Java:63)
    at org.Eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.Java:284)
    at org.Eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPreferenceNode.Java:51)
    at org.Eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.Java:1279)
    at org.Eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.Java:361)
    at org.Eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.Java:1166)
    at org.Eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.Java:675)
    at org.Eclipse.jface.preference.PreferenceDialog$5.lambda$0(PreferenceDialog.Java:660)
    at org.Eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.Java:72)
    at org.Eclipse.jface.preference.PreferenceDialog$5.selectionChanged(PreferenceDialog.Java:657)
    at org.Eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.Java:874)
    at org.Eclipse.core.runtime.SafeRunner.run(SafeRunner.Java:45)
    at org.Eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.Java:47)
    at org.Eclipse.jface.util.SafeRunnable.run(SafeRunnable.Java:176)
    at org.Eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.Java:871)
    at org.Eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.Java:1240)
    at org.Eclipse.jface.viewers.StructuredViewer.lambda$0(StructuredViewer.Java:1263)
    at org.Eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.Java:84)
    at org.Eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.Java:264)
    at org.Eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.Java:259)
    at org.Eclipse.jface.util.OpenStrategy$1.lambda$2(OpenStrategy.Java:420)
    at org.Eclipse.swt.widgets.Display.timerProc(Display.Java:5566)
    at org.Eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.Eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.Java:1581)
    at org.Eclipse.swt.widgets.Display.readAndDispatch(Display.Java:4470)
    at org.Eclipse.jface.window.Window.runEventLoop(Window.Java:822)
    at org.Eclipse.jface.window.Window.open(Window.Java:798)
    at org.Eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.Java:214)
    at org.Eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.Java:66)
    at org.Eclipse.jface.action.Action.runWithEvent(Action.Java:476)
    at org.Eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.Java:568)
    at org.Eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.Java:400)
    at org.Eclipse.swt.widgets.EventTable.sendEvent(EventTable.Java:89)
    at org.Eclipse.swt.widgets.Display.sendEvent(Display.Java:5663)
    at org.Eclipse.swt.widgets.Widget.sendEvent(Widget.Java:1386)
    at org.Eclipse.swt.widgets.Display.runDeferredEvents(Display.Java:4931)
    at org.Eclipse.swt.widgets.Display.readAndDispatch(Display.Java:4472)
    at org.Eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.Java:1173)
    at org.Eclipse.core.databinding.observable.Realm.runWithDefault(Realm.Java:339)
    at org.Eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.Java:1062)
    at org.Eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.Java:156)
    at org.Eclipse.ui.internal.Workbench.lambda$3(Workbench.Java:636)
    at org.Eclipse.core.databinding.observable.Realm.runWithDefault(Realm.Java:339)
    at org.Eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.Java:563)
    at org.Eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.Java:151)
    at org.Eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.Java:155)
    at org.Eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.Java:203)
    at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.Java:137)
    at org.Eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.Java:107)
    at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.Java:400)
    at org.Eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.Java:255)
    at Sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at Sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.Java:62)
    at Sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.Java:43)
    at Java.lang.reflect.Method.invoke(Method.Java:498)
    at org.Eclipse.equinox.launcher.Main.invokeFramework(Main.Java:659)
    at org.Eclipse.equinox.launcher.Main.basicRun(Main.Java:595)
    at org.Eclipse.equinox.launcher.Main.run(Main.Java:1501)
    at org.Eclipse.equinox.launcher.Main.main(Main.Java:1474)

セッションデータに関する情報もあります。

Eclipse.buildId=4.10.0.I20181206-0815
Java.version=1.8.0_191
Java.vendor=Oracle Corporation
BootLoader constants: OS=linux, Arch=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.Eclipse.epp.package.Java.product
Command-line arguments:  -data file:/path/to/workspace/ -os linux -ws gtk -Arch x86_64 -product org.Eclipse.epp.package.Java.product

次の要素が昨日更新されました。

  • Marketplace Client1.7.2.v20180829-193から1.7.4.v20190206-174

  • Subclipse4.2.4.201804261743から4.3.0.201901172050

  • Subversion JavaHL Windows Native DLL's 1.9.7.201803201521からSubversion 1.11 JavaHL 1.11.1.20190116204

  • SVNKit Client Adapter 1.8.12.1から1.8.12.

Eclipse.iniファイルには、-Djava.library.path=/usr/lib/x86_64-linux-gnu/jniステートメントの下にJavaHL-vmargsへのパスを含む行が含まれています。

私はUbuntu16.04に取り組んでいます。私はすでに試しましたが、成功しませんでした:

  • マーケットプレイスからサブクリップをアンインストールして再インストールします

  • Help> Install New Software...を介してサブクリップをアンインストールして再インストールし、サブクリップバイナリ(https://dl.bintray.com/subclipse/releases/subclipse/4.3.x/またはhttps://dl.bintray.com/subclipse/releases/subclipse/latest/)へのリンクを提供します。

  • 新しい空のワークスペースを使用する

  • 同じコンピューター上で新しい空のワークスペースを使用して、Eclipseとサブクリップのクリーンインストールを実行します

他のコンピューター(Eclipseはインストールされているが、サブクリップがインストールされたことがない)にもサブクリップをインストールしようとしましたが、同じ問題が発生したようです...

ここで何がうまくいかないのか、この問題を解決する方法について誰かが私に洞察を与えることができれば、私は本当に感謝しています、

よろしくお願いします!

セバスチャン

5
Sébastien C.

別の回避策は、プラグインのJavaHL部分をインストールしないことです。次に、代わりにSVNKitを使用し、設定ページが再び機能します。 enter image description here

0
Åsmund