| Summary: | NPE when generating a delegate passed to the Widget fadeOut function | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Brian Svihovec <svihovec> |
| Component: | EDT | Assignee: | Project Inbox <edt.mofmodel-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pharmon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I have updated the following classes to support passing functions as function/constructor arguments: QualifiedFunctionInvocationImpl IRUtils TypeUtils This defect was fixed at least 2 months ago, so I am closing. |
Create a file named P5 and add the source below. When the part is being generated, the following exception is thrown: Caused by: java.lang.RuntimeException: java.lang.NullPointerException at org.eclipse.edt.mof.egl.impl.QualifiedFunctionInvocationImpl.getTarget(QualifiedFunctionInvocationImpl.java:51) at org.eclipse.edt.mof.egl.impl.QualifiedFunctionInvocationImpl.getTarget(QualifiedFunctionInvocationImpl.java:1) at org.eclipse.edt.gen.ReorganizeCode.processInvocationConstantParameters(ReorganizeCode.java:346) at org.eclipse.edt.gen.ReorganizeCode.processInvocation(ReorganizeCode.java:354) at org.eclipse.edt.gen.ReorganizeCode.visit(ReorganizeCode.java:330) ... 80 more Caused by: java.lang.NullPointerException at org.eclipse.edt.mof.egl.impl.QualifiedFunctionInvocationImpl.resolveFunction(QualifiedFunctionInvocationImpl.java:110) at org.eclipse.edt.mof.egl.impl.QualifiedFunctionInvocationImpl.getTarget(QualifiedFunctionInvocationImpl.java:49) ... 84 more Source: Handler P5 type RUIWidget {} function main() fadeOut(300, setInvisible); end function setInvisible() end end