Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360603 - Invalid NullValueException occurs testing the value of a nullable timestamp variable
Summary: Invalid NullValueException occurs testing the value of a nullable timestamp v...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 22:24 EDT by mzanjani CLA
Modified: 2017-02-23 14:16 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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