Community
Participate
Working Groups
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
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.