Community
Participate
Working Groups
Build Identifier: 20110218-0911 An exception with message 'a null value was used' is thrown when comparing nullable dates with null, using the '== null' operator Reproducible: Always Steps to Reproduce: 1. Generate EDate001.as an EGL Test Driver (Java) file is in org.eclipse.edt.eunit.test/api.eglx_lang 2. Run the generated file EDate001_pgm.java Testcases 3,5,6 fail with exception. Problem can be toggled by commenting out the assertTrue statement and regenerating. These testcases were copied from EString001.egl and modified to use date variables.
the dates are declared with the ? operator e.g. myDate date?
fixed I question some of the other tests in this testcase. For example, function runAssignmentFunction02(){@Test} myDate date?; LogResult.assertTrue("nullable initialization", ((myDate != "") == false )); end why would a null date be expected to be = and empty string?
verified for EGL Development Tools (EDT) 0.7.0.v201110232102
Closing this work item