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

Bug 365229

Summary: Multiple browser-instances not supported
Product: [RT] RAP Reporter: Austin Riddle <austin.riddle>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 1.5   
Target Milestone: 1.5 M4   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Austin Riddle CLA 2011-11-30 13:17:14 EST
Version: CVS HEAD

When an application is started with the *debug* library variant we get the "Multiple browser-instances..." bug the first time we load the app in any browser.
The problem does not occur in standard mode.
Comment 1 Ralf Sternberg CLA 2011-12-06 09:20:56 EST
Hi Austin, I cannot reproduce this. Does clearing the setting store (instance area) help? Or do you have any pointers how this problem can be reproduced?
Comment 2 Ivan Furnadjiev CLA 2011-12-09 06:07:11 EST
Today I started the Workbench Demo and I get "Multiple browser-instances not supported" error on startup too. I got this error only on first run - with text size determination requests. Anyone could confirm this with Workbench Demo?
Comment 3 Ivan Furnadjiev CLA 2011-12-09 08:39:12 EST
The problem was in Processor.js#processMeta. The check for existence of requestCounter parameter was wrong:
...
if( meta.requestCounter ) {
...
because it does not set the requestCounter to 0. Replaced with:
...
if( meta.requestCounter !== undefined ) {
... 
Austin, please confirm that the issue is fixed.
Comment 4 Austin Riddle CLA 2011-12-09 16:54:03 EST
(In reply to comment #3)
> Austin, please confirm that the issue is fixed.

I tested in our environment and it works great.