Is that a custom error or is that a netsuite generated error? If its a custom error the consultant probably didn't include the stack trace but you can look at the script and see what is causing it by searching for that string value and looking at the surrounding logic. If its netsuite geenrated error, you should have a stacktrace that also points to where the issue is in the script.