| Summary: | NoSuchFunctionError when generating a Binary Expression with a Delegate | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Brian Svihovec <svihovec> |
| Component: | EDT | Assignee: | Project Inbox <edt.mofmodel-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | pharmon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I have updated the operation resolution code to support Delegates Closing this defect. |
* Create a file named DelegateTest.egl. * Add the following EGL Code: program DelegateTest type BasicProgram {} retrieveValidStateHelper MVCValidStateRetriever {}; function main() if(this.retrieveValidStateHelper != null) end end end Delegate MVCValidStateRetriever() returns(String?) end * When you save and generate the file, the following message is displayed: - IWN.JavaGen.9999.e 11/154 Stack Trace: java.lang.RuntimeException: org.eclipse.edt.mof.egl.NoSuchFunctionError - IWN.JavaGen.9998.e 11/154 Exception occurred: java.lang.RuntimeException: org.eclipse.edt.mof.egl.NoSuchFunctionError This appears to be thrown on line 61 of BinaryExpressionImpl.java, due to the fact that IRUtils.getBinaryOperation returns null.