Skip to content

Commit

Permalink
NullReferenceException Fixed
Browse files Browse the repository at this point in the history
In very very few cases (I had 5 projects out of ~300 total that each had 1 block that was causing this error)
  • Loading branch information
englbit authored Nov 3, 2020
1 parent 8b801a3 commit 15692e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ public static void ConvertUCToCall(S7FunctionBlock myFct, S7ProgrammFolder myFld
if (pRow != null) newPar.Value = ((S7DataRow)pRow).StructuredName.Substring(((S7DataRow)pRow).StructuredName.IndexOf('.') + 1);

}
else
else if (par != null)
{
switch (((S7DataRow)s7DataRow).DataType)
{
Expand Down

0 comments on commit 15692e5

Please sign in to comment.