首先,如果 StackOverflow 是该问题的错误问答网站,我深表歉意,如果需要,我很乐意将其移至另一个网站...
每当我尝试在插件中登录我的 Google 帐户时,Eclipse 就会崩溃(Eclipse 左下角的链接)。我可以输入我的电子邮件和密码,然后它会加载我的验证码页面(因为我使用谷歌的两因素身份验证)。提交验证码后,eclipse 完全崩溃并从我的桌面消失。
有任何想法吗?
环境:全新安装以下内容:
- 薄荷 Linux 13
- 我在我的 Google(应用程序)帐户上启用了双重身份验证。
- 日蚀靛蓝
- 日食的谷歌插件
更新 - 2012/06/27 这是控制台中的输出:
$ eclipse
12:26:50.336 [org.eclipse.jdt.internal.ui.text.JavaReconciler] INFO org.mortbay.log - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00b16e62, pid=3853, tid=3077970176
#
# JRE version: 6.0_24-b24
# Java VM: OpenJDK Client VM (20.0-b12 mixed mode, sharing linux-x86 )
# Derivative: IcedTea6 1.11.1
# Distribution: Ubuntu 12.04 LTS, package 6b24-1.11.1-4ubuntu3
# Problematic frame:
# C 0x00b16e62
#
# An error report file with more information is saved as:
# /home/matt/gitrepos/OddPrints/hs_err_pid3853.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
或者,如果您真的很感兴趣,完整的日志就在这里。
更新 - 2012/06/28
正如@jpe 所建议的,我尝试将 eclipse 配置中的默认浏览器更新为“mozilla”。这只是引发了一个错误,说它无法启动浏览器,因此要在外部启动一个浏览器以供我登录。我还给了我一个输入验证码的框。我这样做了,但在输入验证码后,它被错误 400 炸毁。这是 eclipse 日志的尾部:
!ENTRY com.google.gdt.eclipse.login 4 0 2012-06-28 14:53:36.043
!MESSAGE Could not sign in. Make sure that you entered the correct verification code.
!STACK 0
com.google.api.client.http.HttpResponseException: 400 Bad Request
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:380)
at com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.executeUnparsed(AccessTokenRequest.java:457)
at com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.execute(AccessTokenRequest.java:473)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:376)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:312)
at com.google.gdt.eclipse.login.ui.LoginTrimContribution$1.mouseUp(LoginTrimContribution.java:102)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)