下面是对官方解释的简单翻译:
When a plugin crashes, content script may still have a reference to JS objects provided by that plugin. The JS objects will throw an exception “Error calling method on NPObject” when any properties or methods are called. Unfortunately, this generic error message is also thrown whenever a plugin method fails for any reason. You can’t tell, just by looking at the exception, whether the process crashed or some other type of failure occurred.
当一个插件崩溃,之后脚本容器仍然调用了这个插件提供的js对象的话。当这个js对象的任何属性或方法被调用就会抛出“Error calling method on NPObject”的错误。然而,当一个插件因为任何原因执行出错都会抛出这个错误信息。仅仅通过看异常信息,你不能确定问题到底是程序崩溃或者是其他的调用出错的情况发生了。