Scout/HowTo/3.8/Fixing the windowspasswordprovider exception
Scout |
Wiki Home |
Website |
Download • Git |
Community |
Forums • Blog • Twitter • G+ |
Bugzilla |
Bugzilla |
This how-to describes how to fix the windowspasswordprovider exception
Problem description
If the following exception is shown when starting the client, you need to add an additional dependency to the corresponding UI product (Swing and/or SWT):
!ENTRY org.eclipse.core.net 4 0 2012-11-29 13:20:12.795 !MESSAGE Unable to locate secure storage module (org.eclipse.equinox.security.windowspasswordprovider).
!STACK 0 org.eclipse.equinox.security.storage.StorageException: Unable to locate secure storage module (org.eclipse.equinox.security.windowspasswordprovider).at org.eclipse.equinox.internal.security.storage.PasswordProviderSelector.findStorageModule(PasswordProviderSelector.java:190)
[snip]
Steps
- Go to the Swing or SWT UI project and open the product file
- Go to the "Dependencies" tab
- Click on "Add"
- Search for "org.eclipse.equinox.security.win32.x86"
- Click on OK and Save the file
- Go to the "Overview" tab
- Click on Synchronise
- Launch the application from the product file
Launching the client now should no longer throw the exception.