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

Bug 360405

Summary: Cannot read property 'operators' of undefined
Product: z_Archived Reporter: pf yu <pfyu>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: greer, hjiyong, jqian, pfyu, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
TestConcatOperatorsLib_rui_Chrome.JPG
none
TestConcatOperatorsLib_rui_Firefox.JPG none

Description pf yu CLA 2011-10-10 05:09:27 EDT
Build Identifier: 201110090901

Cannot read property 'operators' of undefined

Reproducible: Always

Steps to Reproduce:
1. Check out project "org.eclipse.edt.eunit.test" from kan-cvs.
2. Add JavaScript Generator to the project.
3. Clean the whole workspace.
4. The error exists in:
fvt.operators.TestConcatOperatorsLib
fvt.operators.TestMathOperators01Lib
fvt.operators.TestMathOperators02Lib
fvt.operators.TestMathOperators03Lib
Comment 1 Brian Svihovec CLA 2011-10-10 15:44:17 EDT
Can you provide more detailed instructions on how to recreate this error message?  I tried the following:

* Imported the project
* Added the JS Generator
* Cleaned the project
* Generated the test driver for fvt.operators.TestConcatOperatorsLib
* Opened the Test project and ran the TestConcatOperatorsLib_rui in both the Preview pane and in FireFox/Firebug

I am not seeing any messages being reported in either location.
Comment 2 pf yu CLA 2011-10-11 01:28:28 EDT
Created attachment 204919 [details]
TestConcatOperatorsLib_rui_Chrome.JPG
Comment 3 pf yu CLA 2011-10-11 01:29:43 EDT
Created attachment 204920 [details]
TestConcatOperatorsLib_rui_Firefox.JPG
Comment 4 pf yu CLA 2011-10-11 01:33:48 EDT
1.In preview pane of VE(both XULRunner and IE), no error message reported.
2.In external browser Firefox and Chrome, I can see the error message, the screen shot attached.
Comment 5 Scott Greer CLA 2011-10-24 18:30:43 EDT
The symptoms are caused by compile / generation problems in the corresponding EGL parts in the test project. TestConcatOperatorsLib works for me, and so do the TestMathOperators* parts after I fixed bug 360880.
Comment 6 pf yu CLA 2011-11-08 02:53:05 EST
Verified in build 20111107.