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

Bug 357671

Summary: NPE on assignment statement
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jeffdouglas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-09-14 14:47:11 EDT
Build Identifier: 20110914

The following program has an error on the assignment statement when open in the EGL editor:

program assignment type BasicProgram {}	
    z decimal(4);
    a decimal(4) = 5;
    b decimal(4) = 1;
    c decimal(4) = 7;
	function main()
        z = a + b + c;
	end
end

IWN.JavascriptGen.9998.e 11/167 Exception occurred: java.lang.NullPointerException	assignment.egl	

Reproducible: Always
Comment 1 broy2 CLA 2011-09-14 14:49:13 EDT
Oh good grief.  It's on all assignments.
a = a + b;
a = a - b;
etc.
Comment 2 Jeff Douglas CLA 2011-10-01 15:04:50 EDT
this works now
Comment 3 broy2 CLA 2011-10-02 18:38:00 EDT
Works in 20110930 build.  Fixed upstream.
Comment 4 broy2 CLA 2011-10-02 18:38:39 EDT
Verified.