我在我的Android Studio中使用TFVC插件,并且我尝试提交更改但是它返回了以下错误:
我检查了我的TF可执行文件路径,它返回了找到的有效TF可执行文件。
我能够使用TFVC更新目录,但我无法提交更改。
修改 我能够从远程仓库更新我的本地仓库。此外,我能够创建一个新分支,但我无法签入任何代码。
我甚至尝试在本地完全删除我的工作区和项目,然后我从远程仓库重新克隆了项目。
仍然无法正常工作。
EDIT2:
我尝试通过访问Android Studio注销并从VS团队服务登录 - > VCS - >从版本控制中签出 - >团队服务TFVC。
我能够回复,但是我收到了插件错误提示:> 上午10:20插件错误:Visual Studio Team Services引发了未被捕获的TeamServicesException。禁用插件
单击它以获取更多详细信息,我得到以下对话框:
错误如下:
getAuthenticationInfoAsync失败:KEY_VSO_AUTH_FAILED com.microsoft.alm.plugin.exceptions.TeamServicesException:KEY_VSO_AUTH_FAILED 在com.microsoft.alm.plugin.authentication.facades.VsoAuthInfoProvider.getAuthenticationInfoAsync(VsoAuthInfoProvider.java:98) 在com.microsoft.alm.plugin.authentication.VsoAuthenticationProvider.authenticateAsync(VsoAuthenticationProvider.java:69) 在com.microsoft.alm.plugin.idea.common.ui.common.LookupHelper.authenticateAndLoadVsoContexts(LookupHelper.java:158) 在com.microsoft.alm.plugin.idea.common.ui.checkout.VsoCheckoutPageModel.loadRepositories(VsoCheckoutPageModel.java:79) 在com.microsoft.alm.plugin.idea.common.ui.checkout.CheckoutPageController.actionPerformed(CheckoutPageController.java:92) 在com.microsoft.alm.plugin.idea.common.ui.controls.Hyperlink.notifyActionListeners(Hyperlink.java:91) 在com.microsoft.alm.plugin.idea.common.ui.controls.Hyperlink.access $ 000(Hyperlink.java:25) 在com.microsoft.alm.plugin.idea.common.ui.controls.Hyperlink $ 1.linkSelected(Hyperlink.java:35) 在com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:156) 在com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:350) 在com.intellij.ui.components.labels.LinkLabel $ MyMouseHandler.mouseReleased(LinkLabel.java:327) at java.awt.Component.processMouseEvent(Component.java:6541) 在javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6306) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4897) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) at java.awt.EventQueue.access $ 500(EventQueue.java:98) at java.awt.EventQueue $ 3.run(EventQueue.java:715) at java.awt.EventQueue $ 3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue $ 4.run(EventQueue.java:737) at java.awt.EventQueue $ 4.run(EventQueue.java:735) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) 在com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:827) 在com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:651) 在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport $ 2.run(WaitDispatchSupport.java:190) at java.awt.WaitDispatchSupport $ 4.run(WaitDispatchSupport.java:235) at java.awt.WaitDispatchSupport $ 4.run(WaitDispatchSupport.java:233) at java.security.AccessController.doPrivileged(Native Method) 在java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) 在java.awt.Dialog.show(Dialog.java:1084) 在com.intellij.openapi.ui.impl.DialogWrapperPeerImpl $ MyDialog.show(DialogWrapperPeerImpl.java:736) 在com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:458) 在com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1696) 在com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1645) 在com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1660) 在com.microsoft.alm.plugin.idea.common.ui.common.BaseDialogImpl.showModalDialog(BaseDialogImpl.java:194) 在com.microsoft.alm.plugin.idea.common.ui.checkout.CheckoutController.showModalDialog(CheckoutController.java:75) 在com.microsoft.alm.plugin.idea.tfvc.extensions.TfvcCheckoutProvider.doCheckout(TfvcCheckoutProvider.java:54) 在com.intellij.openapi.vcs.checkout.CheckoutAction.actionPerformed(CheckoutAction.java:36) 在com.intellij.openapi.actionSystem.ex.ActionUtil $ 1.run(ActionUtil.java:215) 在com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:232) at com.intellij.openapi.actionSystem.impl.ActionMenuItem $ ActionTransmitter.lambda $ actionPerformed $ 0(ActionMenuItem.java:309) 在com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:929) 在com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:136) at com.intellij.openapi.actionSystem.impl.ActionMenuItem $ ActionTransmitter.actionPerformed(ActionMenuItem.java:299) 在javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda $ fireActionPerformed $ 0(ActionMenuItem.java:116) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:86) at com.intellij.openapi.application.TransactionGuardImpl.lambda $ submitTransaction $ 1(TransactionGuardImpl.java:109) 在com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:118) 在com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:122) 在com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:116) 在com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:513) 在com.intellij.ui.plaf.beg.BegMenuItemUI.access $ 300(BegMenuItemUI.java:45) 在com.intellij.ui.plaf.beg.BegMenuItemUI $ MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533) at java.awt.Component.processMouseEvent(Component.java:6541) 在javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6306) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4897) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) at java.awt.EventQueue.access $ 500(EventQueue.java:98) at java.awt.EventQueue $ 3.run(EventQueue.java:715) at java.awt.EventQueue $ 3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue $ 4.run(EventQueue.java:737) at java.awt.EventQueue $ 4.run(EventQueue.java:735) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) 在com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:827) 在com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:651) 在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) 在java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
不确定这是否相关,但我想在那里添加它。
答案 0 :(得分:0)
请检查不同用户帐户是否出现问题,还要检查其他客户端计算机。
此外,请确保您已在TFS上为用户帐户设置了正确的权限,至少需要签入权限。
<强>更新强>
这只是你的一个样本。不是Contributors
组,只需检查您使用的用户帐户的权限即可。此外,根据您发布的日志,似乎是插件身份验证的问题。
请参阅此类似帖子中的jchharris的回复:https://github.com/Microsoft/vso-intellij/issues/107,只是尝试更改插件以使用设备流进行身份验证方法。
答案 1 :(得分:0)
该插件似乎通过https访问git,因此您可能需要使用以下命令为git设置https代理
git config --global http.proxy your-prox-server:port