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

Bug 356080

Summary: No Such Method Error thrown when generating the Infobus widget
Product: z_Archived Reporter: Brian Svihovec <svihovec>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: greer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brian Svihovec CLA 2011-08-29 10:10:48 EDT
Import the org.eclipse.edt.rui.widgets_0.7.0 project from CVS.

The Infobus.egl file contains the following error message after being generated:

IWN.JavascriptGen.9998.e 20/490 Exception occurred: No such method genConversionOperation
 (org.eclipse.edt.mof.egl.impl.DelegateImpl, org.eclipse.edt.gen.javascript.Context, 
 org.eclipse.edt.mof.codegen.api.TabbedWriter, org.eclipse.edt.mof.egl.impl.AsExpressionImpl, ) for 
 any template for Class org.eclipse.edt.mof.egl.impl.DelegateImpl

The genConversionOperation appears to be implemented in the Java Generator's version of the TypeTemplate class, but it is missing from the JavaScript version of the TypeTemplate class.
Comment 1 Scott Greer CLA 2011-09-09 13:46:51 EDT
Blocks RUI Technical Sample
Comment 2 Scott Greer CLA 2011-09-12 16:46:57 EDT
Fixed;  in addition to the missing logic referenced in the description, also required changes to isA expressions as well as boxing/unboxing of certain parameters.
Comment 3 Lisa Lasher CLA 2011-11-09 14:17:02 EST
This defect was fixed at least 2 months ago, so I am closing.