Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354970 - JS: NPE on set-values block to initialize an array of delegates
Summary: JS: NPE on set-values block to initialize an array of delegates
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 11:35 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:15 EST (History)
0 users

See Also:


Attachments

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