I use Ubuntu + Eclipse Galileo + Google App Engine 3.5 Beta. I been
signed into
appengine.google.com for weeks then all of of sudden
started to get this error message when starting Eclipse:
An internal error occurred during: "Checking Google Account
credentials".
See stack trace:
java.lang.NoClassDefFoundError: sun/security/ssl/SunJSSE
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:900)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:314)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:253)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:
244)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:
224)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
at sun.security.jca.ProviderList$ServiceList.tryGet(ProviderList.java:
433)
at sun.security.jca.ProviderList$ServiceList.access
$200(ProviderList.java:375)
at sun.security.jca.ProviderList$ServiceList
$1.hasNext(ProviderList.java:485)
at javax.crypto.Mac.getInstance(Mac.java:155)
at com.google.api.client.auth.HmacSha.sign(HmacSha.java:40)
at
com.google.api.client.auth.oauth.OAuthHmacSigner.computeSignature(OAuthHmacSigner.java:
50)
at
com.google.api.client.auth.oauth.OAuthParameters.computeSignature(OAuthParameters.java:
176)
at
com.google.api.client.auth.oauth.OAuthAuthorizationHeaderIntercepter.intercept(OAuthAuthorizationHeaderIntercepter.java:
34)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:
105)
at com.google.gdt.eclipse.login.GoogleLogin$2.run(GoogleLogin.java:
173)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I think this happened after I ran Ubuntu's Update Manager and updated
a few packages. Update history show the following packages were
updated that day:
python-libxml2
libxml2
libxml2-utils
xserver-xorg-input-synaptics
google-chrome-stable
At the moment, the google app engine singout function is not working
either. An attempt to singout would result in the following error:
Unhandled event loop exception
java.lang.NoClassDefFoundError: sun/security/ssl/SunJSSE
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:900)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:314)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:253)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:244)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:
244)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:
224)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
at sun.security.jca.ProviderList$ServiceList.tryGet(ProviderList.java:
433)
at sun.security.jca.ProviderList$ServiceList.access
$200(ProviderList.java:375)
at sun.security.jca.ProviderList$ServiceList
$1.hasNext(ProviderList.java:485)
at javax.crypto.Mac.getInstance(Mac.java:155)
at com.google.api.client.auth.HmacSha.sign(HmacSha.java:40)
at
com.google.api.client.auth.oauth.OAuthHmacSigner.computeSignature(OAuthHmacSigner.java:
50)
at
com.google.api.client.auth.oauth.OAuthParameters.computeSignature(OAuthParameters.java:
176)
at
com.google.api.client.auth.oauth.OAuthAuthorizationHeaderIntercepter.intercept(OAuthAuthorizationHeaderIntercepter.java:
34)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:
105)
at
com.google.api.client.googleapis.auth.oauth.GoogleOAuthGetAccessToken.revokeAccessToken(GoogleOAuthGetAccessToken.java:
58)
at com.google.gdt.eclipse.login.GoogleLogin.revoke(GoogleLogin.java:
787)
at com.google.gdt.eclipse.login.GoogleLogin.logOut(GoogleLogin.java:
661)
at com.google.gdt.eclipse.login.GoogleLogin.logOut(GoogleLogin.java:
510)
at com.google.gdt.eclipse.login.GoogleLogin.logOut(GoogleLogin.java:
498)
at com.google.gdt.eclipse.login.ui.LoginTrimContribution
$1.mouseUp(LoginTrimContribution.java:88)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
207)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
194)
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:
368)
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:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
This java.lang.NoClassDefFoundError: sun/security/ssl/SunJSSE is the
first thing I tried to investigate. I found that the jsse.jar file
does exist but not sure what exactly this error is referring to. I
guess it could mean that the google chrome update might have erased
something.
I could reinstall Eclipse and then everything else inside Eclipse, but
would be nice to know the root cause and solution to this problem.
Thanks
Steve