Hello, i am new to javascript and trying use drag and drop but seeing the following error :

NS_ERROR_INVALID_POINTER: Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER)...