Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 237689

Summary: [Tooling][templates] Invalid value for org.eclipse.rap.ui/initialFastViewBarLocation preference.
Product: [RT] RAP Reporter: Elias Volanakis <elias>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: austin.riddle
Version: 1.1   
Target Milestone: 1.2 M5   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 259061    
Bug Blocks:    

Description Elias Volanakis CLA 2008-06-18 16:11:43 EDT
To reproduce:

1. Create a new plugin project using one of the three RAP templates.
2. Run the application.
3. The following error message appears in the log:

!ENTRY org.eclipse.rap.ui 2 2 2008-06-18 13:06:39.754
!MESSAGE Invalid value for org.eclipse.rap.ui/initialFastViewBarLocation preference.  Value "" should be one of "left", "bottom", or "right".

Additionally, the first time the Mail template is started an error message similar to this one appears in the log: "Could not restore theme"
Comment 1 Austin Riddle CLA 2009-01-15 12:23:42 EST
Most people already know this, but I just thought that I would post it here for someone who might want to get rid of the error for their application.

Just add this line to preWindowOpen() in your implementation/subclass of WorkbenchWindowAdvisor:
@Override
public void preWindowOpen()
{
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.INITIAL_FAST_VIEW_BAR_LOCATION, IWorkbenchPreferenceConstants.LEFT);
}
Comment 2 Elias Volanakis CLA 2009-01-16 13:14:35 EST
For what it's worth: it really seems to be caused by 259061.

I've stepped through the code (1.2 M4) and a valid value is put into the prefs, however when retrieving the value it's "".
Comment 3 RĂ¼diger Herrmann CLA 2009-01-21 13:55:28 EST
This was solved with resolving bug #259061