Added more specific information in the error handler, which should help distinguish between java nulls and mscript nulls, and also provides the code target.