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

Bug 354970

Summary: JS: NPE on set-values block to initialize an array of delegates
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-08-17 11:35:36 EDT
Java produces no error on the EGL file

Message on EGL file

Multiple markers at this line
	- IWN.JavascriptGen.9999.e 6/116 Stack Trace: java.lang.NullPointerException
	- IWN.JavascriptGen.9998.e 6/116 Exception occurred: 
	 java.lang.NullPointerException

==========  EDT Code =================

library tester {}
    function runTests()
        // not ok
        runTestMtds runTestMethod[] = [EBoolean003.runTestConversions02, EBoolean003.runTestConversions03];
    end
    function runtTests2()
        // ok
        runTestMtds runTestMethod[2];
        runTestMtds[1] = EBoolean003.runTestConversions02;
        runTestMtds[2] = EBoolean003.runTestConversions03;
    end
end

delegate runTestMethod()    
end

library EBoolean003 {}
    // Function Declarations
    function runTestConversions02()
    end

    function runTestConversions03()
    end

end
Comment 1 Kathy Carroll CLA 2011-09-15 14:44:53 EDT
Testcase is no longer valid due to language changes
Comment 2 Kathy Carroll CLA 2011-09-19 15:48:33 EDT
verified
Comment 3 Lisa Lasher CLA 2011-10-11 16:13:18 EDT
Closing this defect.
Comment 4 Lisa Lasher CLA 2011-10-11 16:30:04 EDT
Closing this defect.