View Issue Details

IDProjectCategoryView StatusLast Update
0004139Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-09 14:56
ReporterCamille Dominique Reyes Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.340.380 
Target Version1.03Fixed in Version1.03.341.381 
Summary0004139: 'items[t]' [undefined] is not an object in Monitor MinQueueSize_05 006.js
Description

When 006.js is ran, it returns the following error:

Test.Execute() encounted an unexpected error: TypeError: Result of expression 'items[t]' [undefined] is not an object.
called from: D:/WSOPCUA Server Compliance/WSOPCUAServer_Comp510/library/Base/safeInvoke.js line: 106
called from: D:/WSOPCUA Server Compliance/WSOPCUAServer_Comp510/maintree/Monitored Item Services/Monitor MinQueueSize_05/Test Cases/006.js line: 94

Steps To Reproduce

Run Monitor MinQueueSize_05 test case 006.js
The error will appear in the error logs.

Additional Information

The call in line 42:

if (items[t].NodeSetting ==... ) ...

may go out of bounds if the number of nodes configured in project file is less than 6.

Changing the code to :

if (items[i].NodeSetting...), which iterates through the items, fixes this error.

TagsNo tags attached.
Attached Files
Monitor_QueueSize5_006.png (69,624 bytes)   
Monitor_QueueSize5_006.png (69,624 bytes)   
Files Affected

Activities

Camille Dominique Reyes

2018-01-30 01:52

reporter   ~0008850

Issue is similar to 0003917, which I believe has been closed. However, a different error is not raised instead of BadOutOfRange (0x803c0000) and test case is still failing.

Alexander Allmendinger

2018-10-02 09:17

developer   ~0009443

followed suggestion

Paul Hunkar

2019-08-09 14:56

administrator   ~0010728

reviewed in CMP call

Issue History

Date Modified Username Field Change
2018-01-30 01:39 Camille Dominique Reyes New Issue
2018-01-30 01:39 Camille Dominique Reyes File Added: Monitor_QueueSize5_006.png
2018-01-30 01:52 Camille Dominique Reyes Note Added: 0008850
2018-08-31 17:20 Paul Hunkar Assigned To => Alexander Allmendinger
2018-08-31 17:20 Paul Hunkar Status new => assigned
2018-10-02 09:17 Alexander Allmendinger Note Added: 0009443
2018-10-02 09:17 Alexander Allmendinger Status assigned => resolved
2018-10-02 09:17 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-10-02 09:17 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-09 14:56 Paul Hunkar Target Version => 1.03
2019-08-09 14:56 Paul Hunkar Status resolved => closed
2019-08-09 14:56 Paul Hunkar Note Added: 0010728