I also agree that the issue is likely to be on the Text 2 property so would start by doing what KarlT has suggested.
If you still cannot figure out what is causing it I would suggest to do some simple debugging.
Adding the following code to under you Catch Exception part of the rule should enable you to identify what target entity, source entity (given by the Text2 property) and Time is causing it to fail by checking the error log:
Catch ex As Exception
'debug entity, and time causing the exception
api.LogMessage($"Target POV Entity: {api.Pov.Entity.Name}; SourceEntity: {api.Entity.Text(2)}; Time: {api.Pov.Time.Name}")
Throw ErrorHandler.LogWrite(si, New XFException(si, ex))
End Try