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

Bug 357498

Summary: When record is in parameter, it gives null pointer exception
Product: z_Archived Reporter: Jing Qian <jqian>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: jeffdouglas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jing Qian CLA 2011-09-13 10:14:42 EDT
package a;

Record myR
	f1 String;
end

// basic program
//
program Simple type BasicProgram {}
		
	function main()
		sysLib.writeStdOUt("abc");
		r myR;
		r.f1 = "this is field1 for record myR";
		function2(r);
	end
	
	function function2(r myR in)
		sysLib.writeStdout("in parameter record: " + r.f1);	
	end	
end


try this program, the generated code isn't copying the the value to the temporary variable.  

This is blocking defect, because the test framework is depending on it
Comment 1 Jeff Douglas CLA 2011-09-13 15:11:18 EDT
fixed
Comment 2 Lisa Lasher CLA 2011-11-09 14:13:29 EST
This high severity defect was fixed several weeks ago, so I am closing.