Eclipse挂起。 我在这个过程中运行jstack并获得以下内容:
"main" prio=10 tid=0x00007f531000b000 nid=0xbd3 waiting for monitor entry [0x00007f5317b69000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.tmatesoft.svn.core.internal.util.jna.SVNGnomeKeyring$3.callback(SVNGnomeKeyring.java:88)
- waiting to lock <0x0000000606027b40> (a java.lang.Object)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:455)
at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:485)
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:2302)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Eclipse版本是:
Eclipse Standard/SDK
Version: Kepler Service Release 2
Build id: 20140224-0627
插件:
Subclipse 1.10.5 with:
Subclipse (Required) 1.10.5 org.tigris.subversion.subclipse.feature.group tigris.org
Subversion Client Adapter (Required) 1.10.1 org.tigris.subversion.clientadapter.feature.feature.group tigris.org
SVNKit Client Adapter (Not required) 1.8.9 org.tigris.subversion.clientadapter.svnkit.feature.feature.group tigris.org
SVNKit Library 1.7.9.r9659_v20130411_2103 org.tmatesoft.svnkit.feature.group TMate Software
OS:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
任何想法如何改善它?我尝试重新安装插件,重新安装Eclipse本身。问题依然存在。
答案 0 :(得分:1)
在Subclipse问题跟踪器中看起来像Issue 1651,它位于Subclipse,SVNKit和GNOME Keyring之间。
可以通过配置Subversion 而不是来使用GNOME Keyring来解决此问题。如果以明文存储凭证是可以接受的,则可以将Subversion配置如下:
在~/.subversion/servers
的{{1}}下,将[global]
和store-passwords
设为store-plaintext-passwords
:
yes
在[global]
#...skipping...
#
# Password / passphrase caching parameters:
store-passwords = yes
store-plaintext-passwords = yes
的{{1}}下,将~/.subversion/config
设置为空字符串:
[auth]
(在Subversion 1.9.5上测试,其他版本的配置可能有所不同。)