What is the NS_ERROR_INVALID_POINTER error in Firefox?

后端 未结 3 1429
别跟我提以往
别跟我提以往 2021-01-22 07:47

While testing JavaScript code in Firefox 3.5 I sometimes get the following error:

Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER)
<         


        
相关标签:
3条回答
  • 2021-01-22 08:37

    I just had the error by mistakenly trying to append an element to itself: elem.appendChild(elem);

    0 讨论(0)
  • 2021-01-22 08:38

    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.

    0 讨论(0)
  • 2021-01-22 08:40

    I had this error too using Coffeescript when my Callback functions were defined after my main function. I just had to re order my functions to make it work. Hope it helps.

    0 讨论(0)
提交回复
热议问题