I get this error on button click running a tag read script when on the vision client.
error doesn't occur in designer.
Traceback (most recent call last):
File "event:actionPerformed", line 1, in
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: at index 0
caused by ExecutionException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: at index 0
caused by GatewayException: at index 0
caused by NullPointerException: at index 0