What product/components do you use and which version/fix level are you on?
Cumulocity IoT OPCUA Gateway agent 10.14
Is your question related to the free trial, or to a production (customer) instance?
What are you trying to achieve? Please describe it in detail.
Initial OPCUA address spaces scanning failed
Do you get any error messages? Please provide a full error message screenshot and log file.
Below find the error while scanning the address spaces.
2022-12-20 20:38:57.556 ERROR 11846 — [ background-13] c.c.o.c.g.o.h.ScanAddressSpaceHandler : Could not finish address space operation due to client exception.
com.cumulocity.opcua.client.exception.OpcuaClientException: Unable to perform scanning address space, quick: false
at com.cumulocity.opcua.client.OpcuaAddressSpaceScanner.scan(OpcuaAddressSpaceScanner.java:57)
at com.cumulocity.opcua.client.OpcuaClientImpl.scan(OpcuaClientImpl.java:342)
at com.cumulocity.opcua.client.gateway.AddressSpaceScanner.forcedScan(AddressSpaceScanner.java:57)
at com.cumulocity.opcua.client.gateway.AddressSpaceScanner.scan(AddressSpaceScanner.java:51)
at com.cumulocity.opcua.client.gateway.operation.handler.ScanAddressSpaceHandler.handleInternal(ScanAddressSpaceHandler.java:127)
at com.cumulocity.opcua.client.gateway.operation.handler.ScanAddressSpaceHandler.handleInternal(ScanAddressSpaceHandler.java:40)
at com.cumulocity.opcua.client.gateway.operation.handler.base.OperationHandler.handle(OperationHandler.java:70)
at com.cumulocity.opcua.client.gateway.operation.OperationExecutor.executeOperation(OperationExecutor.java:170)
at com.cumulocity.opcua.client.gateway.operation.OperationExecutor.lambda$execute$1(OperationExecutor.java:136)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.RuntimeException: Unable to [get] node: ns=14;s=Y=ac:.Attributes;B=ac:.Attributes;S=.Attributes;
at com.cumulocity.opcua.client.BaseAddressSpaceScanner.doWithRetries(BaseAddressSpaceScanner.java:76)
at com.cumulocity.opcua.client.OpcuaAddressSpaceFullScanner.scanNext(OpcuaAddressSpaceFullScanner.java:77)
at com.cumulocity.opcua.client.OpcuaAddressSpaceScanner.lambda$triggerScan$0(OpcuaAddressSpaceScanner.java:84)
at com.cumulocity.opcua.client.OpcuaAddressSpaceScanner.scanWithHeartBeat(OpcuaAddressSpaceScanner.java:94)
at com.cumulocity.opcua.client.OpcuaAddressSpaceScanner.triggerScan(OpcuaAddressSpaceScanner.java:84)
at com.cumulocity.opcua.client.OpcuaAddressSpaceScanner.scan(OpcuaAddressSpaceScanner.java:51)
… 11 common frames omitted
Caused by: java.lang.NullPointerException: null
at com.prosysopc.ua.AbstractOptionSetDataType.computeBuiltInTypeValue(SourceFile:284)
at com.prosysopc.ua.stack.core.AccessLevelType.getAsBuiltInType(SourceFile:82)
at com.prosysopc.ua.client.nodes.UaVariableImpl.getAttributes(SourceFile:581)
at com.prosysopc.ua.client.nodes.UaVariableImpl.getAttributes(SourceFile:186)
at com.cumulocity.opcua.client.OpcuaAddressSpaceReader.setAttributes(OpcuaAddressSpaceReader.java:94)
at com.cumulocity.opcua.client.OpcuaAddressSpaceReader.getNode(OpcuaAddressSpaceReader.java:58)
at com.cumulocity.opcua.client.OpcuaAddressSpaceReader.getNode(OpcuaAddressSpaceReader.java:32)
at com.cumulocity.opcua.client.OpcuaAddressSpaceFullScanner.lambda$scanNext$1(OpcuaAddressSpaceFullScanner.java:74)
at com.cumulocity.opcua.client.BaseAddressSpaceScanner.doWithRetries(BaseAddressSpaceScanner.java:58)
… 16 common frames omitted
Have you installed all the latest fixes for the products and systems you are using?
yes