我
我在Mac上运行Eclipse Junos并安装了p4eclipse插件。系统重新启动后,我正在尝试重新启动 Eclipse,但它抛出异常(如日志所示(。
com.perforce.p4java.exception.AccessException: Your session has expired, please login again.
at com.perforce.p4java.impl.mapbased.server.Server.handleErrorStr(Server.java:4453)
at com.perforce.p4java.impl.mapbased.server.Server.getDepots(Server.java:2673)
at com.perforce.team.core.p4java.P4Connection$2.run(P4Connection.java:1057)
at com.perforce.team.core.p4java.P4Resource.runOperation(P4Resource.java:90)
at com.perforce.team.core.p4java.P4Connection.refresh(P4Connection.java:1060)
at com.perforce.team.core.p4java.P4Connection.isSandbox(P4Connection.java:1015)
at com.perforce.team.ui.decorator.PerforceDecorator.updateSandBoxAndStreamDecoration(PerforceDecorator.java:288)
at com.perforce.team.ui.decorator.PerforceDecorator.decorateProjectWithConnection(PerforceDecorator.java:275)
at com.perforce.team.ui.decorator.PerforceDecorator.getProjectText(PerforceDecorator.java:848)
at com.perforce.team.ui.decorator.PerforceDecorator.decorateProject(PerforceDecorator.java:562)
at com.perforce.team.ui.decorator.PerforceDecorator.decorateText(PerforceDecorator.java:812)
at org.eclipse.ui.internal.decorators.FullDecoratorDefinition.decorateText(FullDecoratorDefinition.java:134)
另外,在堆栈跟踪下面:
!ENTRY org.eclipse.equinox.security 4 0 2013-05-31 11:14:09.882
!MESSAGE Secure storage was unable to retrieve the master password from the OS keyring.
Make sure that this application has access to the OS keyring.
If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created.
java.lang.SecurityException: Could not obtain password. Result: -25300
at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method)
at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:45)
at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
at org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:262)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106)
at com.perforce.team.core.P4SecureStore.get(P4SecureStore.java:36)
at com.perforce.team.core.ConnectionParameters.getPassword(ConnectionParameters.java:265)
at com.perforce.team.ui.P4ConnectionManager.handleLoginError(P4ConnectionManager.java:374)
at com.perforce.team.ui.P4ConnectionManager.internalRetry(P4ConnectionManager.java:803)
at com.perforce.team.ui.P4ConnectionManager.shouldRetry(P4ConnectionManager.java:833)
at com.perforce.team.core.p4java.P4Connection.handleError(P4Connection.java:1649)
at com.perforce.team.core.p4java.P4Resource.runOperation(P4Resource.java:94)
at com.perforce.team.core.p4java.P4Connection.refresh(P4Connection.java:1060)
我
以前也见过这个问题,当时我别无选择,只能重新安装 Eclipse。
请帮我解决这个问题。另外,如何避免再次遇到此问题。
提前谢谢。
微波。
这
看起来像Eclipse错误:https://bugs.eclipse.org/bugs/show_bug.cgi?id=391455
该错误建议您转到"首选项/常规/安全性/安全存储",然后转到"OS X密钥库集成">