Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357671 - NPE on assignment statement
Summary: NPE on assignment statement
Status: CLOSED FIXED
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-09-14 14:47 EDT by broy2 CLA
Modified: 2017-02-23 14:20 EST (History)
1 user (show)

See Also:


Attachments

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