Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358029 - NullValueException when using StrLib.clip
Summary: NullValueException when using StrLib.clip
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: Scott Greer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 358329
Blocks:
  Show dependency tree
 
Reported: 2011-09-18 14:06 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:14 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 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.