louis-rug opened a new issue, #5244: URL: https://github.com/apache/streampipes/issues/5244
### Apache StreamPipes version 0.98.0 ### Affected StreamPipes components Processing Elements ### What happened? When using the OPC UA adapter, schema detection works for standard OPC UA String types (ns=0;i=12) but fails for vendor-specific String datatypes exposed by Siemens and Beckhoff OPC UA servers. The affected nodes contain simple scalar string values and can be read correctly in UaExpert. Example: Working node: DataType: NamespaceIndex = 0 Identifier = 12 [String] Failing node: DataType: NamespaceIndex = 3 Identifier = 3013 [STRING] Value = "AutomaticActive" ValueRank = -1 (Scalar) <img width="479" height="88" alt="Image" src="https://github.com/user-attachments/assets/59f49fea-a9b6-4d73-8aea-95fe4b554402" /> <img width="479" height="112" alt="Image" src="https://github.com/user-attachments/assets/df02314a-1d2b-46e4-95c6-b7aad5ab2d6f" /> During schema detection StreamPipes throws: Decoded value is not a Struct Stack trace points to: ExtensionObjectOpcUaNode.extractStruct(...) ,which suggests that the custom STRING datatype is interpreted as an ExtensionObject/Struct instead of a string. ### How to reproduce? 1. Configure an OPC UA adapter in StreamPipes. 2. Connect to an OPC UA server exposing a vendor-specific STRING datatype (e.g. Siemens or Beckhoff). 3. Select a node with: DataType = ns=3;i=3013 [STRING] (or similar vendor-specific STRING datatype). 4. Start schema detection ### Expected behavior StreamPipes should resolve vendor-specific STRING datatypes to a string schema when the value is a scalar string and can be decoded accordingly. ### Additional technical information _No response_ ### Are you willing to submit a PR? None -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
