Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356080 - No Such Method Error thrown when generating the Infobus widget
Summary: No Such Method Error thrown when generating the Infobus widget
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 10:10 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:18 EST (History)
1 user (show)

See Also:


Attachments

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