You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Ben Hutcheson (Jira)" <ji...@apache.org> on 2021/08/03 20:44:00 UTC
[jira] [Resolved] (PLC4X-200) OPC-UA Driver not connecting if
params string is not provided
[ https://issues.apache.org/jira/browse/PLC4X-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Hutcheson resolved PLC4X-200.
---------------------------------
Fix Version/s: 0.9.0
Assignee: Ben Hutcheson
Resolution: Fixed
> OPC-UA Driver not connecting if params string is not provided
> -------------------------------------------------------------
>
> Key: PLC4X-200
> URL: https://issues.apache.org/jira/browse/PLC4X-200
> Project: Apache PLC4X
> Issue Type: Bug
> Components: Driver-OPC-UA
> Affects Versions: 0.7.0
> Reporter: Alessandro Rossignoli
> Assignee: Ben Hutcheson
> Priority: Major
> Labels: newbie
> Fix For: 0.9.0
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> When creating a new connection to the driver without params, using the TCP transport method, the driver will throw a null pointer exception.
> method: private static String getOptionString(String params)
> file: _OpcuaTcpPlcConnection.java_ line 558
> I am not really an expert of the OPC UA specificatin, but I think that a null check for this could solve the problem easily.
> This issue was not present on version 0.5.0, now upgrading to 0.7.0 the connection cannot be established and I am pretty sure that the getOptionString method that was introduced is the cause of this.
>
> I am available for a PR
--
This message was sent by Atlassian Jira
(v8.3.4#803005)