Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.7.0
-
Patch
Description
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