vazexqi / CodingSpectator

Watches and analyzes code edits in the Eclipse IDE non-invasively
http://codingspectator.cs.illinois.edu
Other
20 stars 14 forks source link

Secure storage fails to retrieve the master password #248

Open reprogrammer opened 13 years ago

reprogrammer commented 13 years ago

The error log of participant cs-111 contains two occurrences of the following exception on 6/7/2011 and 6/9/2011.

eclipse.buildId=M20100909-0800
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/username/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/username/.eclipse_keyring -showlocation

!ENTRY org.eclipse.equinox.security 4 0 2011-06-09 15:49:33.128
!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.
!STACK 0
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.put(SecurePreferences.java:224)
        at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
        at edu.illinois.codingspectator.monitor.ui.prefs.SecureStorageFacade.saveAuthenticationInfo(SecureStorageFacade.java:82)
        at edu.illinois.codingspectator.monitor.ui.AuthenticationPrompter.saveAuthenticationInfo(AuthenticationPrompter.java:99)
        at edu.illinois.codingspectator.monitor.ui.submission.Submitter.authenticateAndInitialize(Submitter.java:68)
        at edu.illinois.codingspectator.monitor.ui.submission.Submitter.promptUntilValidCredentialsOrCanceled(Submitter.java:145)
        at edu.illinois.codingspectator.monitor.ui.Uploader.promptUntilValidCredentialsOrCanceled(Uploader.java:40)
        at edu.illinois.codingspectator.monitor.ui.Activator.earlyStartup(Activator.java:99)
        at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
        at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.Workbench$59.run(Workbench.java:2409)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)