Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357498 - When record is in parameter, it gives null pointer exception
Summary: When record is in parameter, it gives null pointer exception
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 10:14 EDT by Jing Qian 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 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.