View Issue Details

IDProjectCategoryView StatusLast Update
0008082CTT UA Binary1 - Script Issuepublic2024-01-25 14:53
ReporterJochen Baier Assigned ToArchie Miller  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Summary0008082: View Services->View Basic->005.js fails if node count exceeds MaxNodesInAddressSpaceCache value
Description

I added more variables to the address space I use for testing. After that the test "View Services->View Basic->005.js" failed.
It was not clear why. I reduced the problem to the call "IsSubTypeOfTypeHelper.Execute()"

It seems if there are more nodes in the address space as default value MaxNodesInAddressSpaceCache of 25000 IsSubTypeOfTypeHelper.Execute() fails with:

"IsSubTypeOfType failed, status Ctt_Bad (0xb0000000)"

I see trace entries like:
"UaSessionClass::AddReferenceToNeedToBrowseList(): There are more than 25000 elements in the offline cache of the address space. No further will be added. (Already browsed=132 | to be browsed=24938)".

CTT could show more clearly that there are too many nodes in the address space to avoid subsequent problems.
Effected tests could be aborted before start.

Steps To Reproduce

Server with more than 25000 nodes. Tested with Unified Automation Demo Server
Script:

function test_IsSubTypeOfTypeHelper() {

var res= IsSubTypeOfTypeHelper.Execute
(
{ ItemNodeId : UaNodeId.fromString("i=2368 "), //i=2368 [AnalogItemType]
TypeNodeId : UaNodeId.fromString("i=15318") //i=15318 [BaseAnalogType]
}
);

return( res );
}

Test.Execute( { Procedure: function test() {
return test_IsSubTypeOfTypeHelper();
}});

or CTT Script: View Services->View Basic->005.js"

TagsNo tags attached.
Files Affected

Relationships

duplicate of 0007996 closedArchie Miller CTT aborts creation of object model map without notice on exceeding MaxNodesInAddressSpaceCache 

Activities

Paul Hunkar

2022-08-04 14:58

administrator   ~0017279

This may have been fixed with recent updates, please verify

Paul Hunkar

2024-01-04 15:52

administrator   ~0020571

Agree it is a duplicate

Issue History

Date Modified Username Field Change
2022-06-28 15:24 Jochen Baier New Issue
2022-08-04 14:58 Paul Hunkar Note Added: 0017279
2022-08-04 14:58 Paul Hunkar Assigned To => Archie Miller
2022-08-04 14:58 Paul Hunkar Status new => assigned
2022-08-25 03:09 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2024-01-03 16:58 Archie Miller Status assigned => resolved
2024-01-03 16:58 Archie Miller Resolution open => duplicate
2024-01-03 16:58 Archie Miller Relationship added duplicate of 0007996
2024-01-04 15:52 Paul Hunkar Status resolved => closed
2024-01-04 15:52 Paul Hunkar Note Added: 0020571
2024-01-25 14:53 Paul Hunkar Project CTT UA Scripts => CTT UA Binary