View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004143 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2018-01-30 13:11 | 2020-07-09 15:02 |
Reporter | Camille Dominique Reyes | Assigned To | Alexander Allmendinger | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.03.340.380 | ||||
Fixed in Version | 1.03.341.390 | ||||
Summary | 0004143: Result of expression 'items[i]' [null] is not an object in Attribute Write Values Err-008.js | ||||
Description | Currently encountering the following error when Attribute Write Values Err-008.js is executed: Test.Execute() encounted an unexpected error: TypeError: Result of expression 'items[i]' [null] is not an object. | ||||
Steps To Reproduce | Run Attribute Write Values Err-008.js | ||||
Additional Information | This happens when the items[i] in if( items[i].originalValue.DataType == types[t] ) return( items[i] ); turns out to be null in the first place. This may happen when one of the prior monitored items has been sent a value of null. Once the script iterates to that null item, an exception is thrown. Adding a check which returns null when items[i] is null fixes the test case. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Files Affected | |||||
|
There were several issues in this script: Fix already checked in to 3rd September |
|
Reviewed in CMP call |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-01-30 13:11 | Camille Dominique Reyes | New Issue | |
2018-01-30 13:11 | Camille Dominique Reyes | File Added: Write_Values_Err-008.PNG | |
2018-05-04 15:39 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
2018-05-04 15:39 | Paul Hunkar | Status | new => assigned |
2019-01-28 14:10 | Paul Hunkar | Category | Script Issue => 1 - Script Issue |
2019-11-03 17:44 | Alexander Allmendinger | Status | assigned => resolved |
2019-11-03 17:44 | Alexander Allmendinger | Resolution | open => fixed |
2019-11-03 17:44 | Alexander Allmendinger | Fixed in Version | => 1.03.341.390 |
2019-11-03 17:44 | Alexander Allmendinger | Note Added: 0011188 | |
2020-07-09 15:02 | Paul Hunkar | Status | resolved => closed |
2020-07-09 15:02 | Paul Hunkar | Note Added: 0012580 |