Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365229 - Multiple browser-instances not supported
Summary: Multiple browser-instances not supported
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows 7
: P1 normal (vote)
Target Milestone: 1.5 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 13:17 EST by Austin Riddle CLA
Modified: 2011-12-09 16:54 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.