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

Bug 362864

Summary: [Regression] Drop a Dojo check box throws an exception in both VE & preview
Product: z_Archived Reporter: fahua jin <jinfahua>
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: hjiyong, mheitz, xiaobinc
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description fahua jin CLA 2011-11-04 02:47:20 EDT
Build Identifier: 0.7.0.v201111032101

1) Create a new RUI Handler, D&D a Dojo check box to the VE.

unknown error
[CRRUI2094E] 以下是导致此错误的 EGL 函数调用:

    DojoCheckBoxWithoutLabel.DojoCheckBoxWithoutLabel.setOnChange() [native JavaScript]
    H5.<init>() [native JavaScript]
    H5.<init>() [native JavaScript]

uncaught exception: undefined
:0

Reproducible: Always
Comment 1 Xiao Bin Chen CLA 2011-11-04 03:46:50 EDT
This defect was because of bug360723 changes.
Comment 2 Xiao Bin Chen CLA 2011-11-04 03:47:15 EDT
Please see BaseTypesAndRuntimes.js
Comment 3 Huang Ji Yong CLA 2011-11-06 21:19:04 EST
This problem only happens in nightly build.
It seems that the change in org.eclipse.edt.gen.javascript/bin/org/eclipse/edt/gen/javascript/CommonUtilities.java is not in the build.
I compare the source of CommonUtilities from the source plugin of nightly build and that source in the cvs, there is difference in the isRUIWidget method.
I try to release the plugin again, but it fails because there is no difference.
There may be some build defect.

Finally, I just add some white space to this file and commit/release again, hope it will be on tomorrow's build.
Comment 4 fahua jin CLA 2011-11-07 22:08:32 EST
Verified in 0.7.0.v201111071403.