How do I fix a Corrupt script

How do I fix a Corrupt script

Hello. While loading a Field Action script I get a "TypeError: xml is null" in the bottom of the script window. After that the screen just locks up on the "loading..." script message. Thanks.