While testing JavaScript code in Firefox 3.5 I sometimes get the following error:
Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) <
Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER)
Without knowing specifically what you are calling, the error generally means you've passed something null to something that does not expect a null value.