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

Bug 358029

Summary: NullValueException when using StrLib.clip
Product: z_Archived Reporter: Brian Svihovec <svihovec>
Component: EDTAssignee: Scott Greer <greer>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: greer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 358329    
Bug Blocks:    

Description Brian Svihovec CLA 2011-09-18 14:06:00 EDT
Run the following RUIHandler:

handler Test type RUIhandler {initialUI = [ ],onConstructionFunction = start, cssFile="css/RUIP1.css", title="Test"}
	 
	function start()
		var1 String = "abc";
		SysLib.writestdout(StrLib.clip(var1));
	end

end

The value printed at runtime is "null".
Comment 1 Brian Svihovec CLA 2011-09-18 14:06:38 EDT
This affects the Rich UI Technical Sample.
Comment 2 Scott Greer CLA 2011-09-29 11:53:02 EDT
Fixed by adding support for overloaded functions (https://bugs.eclipse.org/bugs/show_bug.cgi?id=358329) and re-generating StrLib.egl;  note that any EGL parts that call these overloaded functions in StrLib will also need to be re-generated.
Comment 3 Lisa Lasher CLA 2011-10-11 16:28:42 EDT
Closing this defect.