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

Bug 360603

Summary: Invalid NullValueException occurs testing the value of a nullable timestamp variable
Product: z_Archived Reporter: mzanjani
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: pharmon, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description mzanjani CLA 2011-10-11 22:24:05 EDT
Invalid NullValueException throws when checking a nullable timestamp for null as shown below:

		mytimeStamp timeStamp?;
		a boolean;
		try
			a = (mytimestamp == null);			
		onException(exception NullValueException)
			SysLib.writeStdout("NullValueException");
		onException(exception AnyException)
			SysLib.writeStdout("AnyException");
		end
Comment 1 Paul Harmon CLA 2011-10-18 13:02:33 EDT
I ran into this last week when updating Timestamp to be a reference type and fixed it then. Please re-run your test.
Comment 2 mzanjani CLA 2011-10-19 01:35:43 EDT
I have tested testcase ETimestamp001 using last night build (0.7.0.v201110180903) and there is no NullValueException any more. Thanks
Comment 3 Lisa Lasher CLA 2011-10-19 11:17:51 EDT
closing the defect