Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
None
-
None
-
Windows 10 UWP
Description
I am developing a Cordova-based app for a Windows 10 platform. There is a button that whenever I press, cordova.js throws the following exception at this function:
document.removeEventListener = function(evt, handler, capture) { var e = evt.toLowerCase(); // If unsubscribing from an event that is handled by a plugin if (typeof documentEventHandlers[e] != "undefined") { documentEventHandlers[e].unsubscribe(handler); } else { m_document_removeEventListener.call(document, evt, handler, capture); } };
The exception text is as follows:
Unhandled exception at line 154, column 9 in ms-appx-web://com.something/www/cordova.js 0x800a138f - JavaScript runtime error: Unable to get property 'handleEvent' of undefined or null reference occurred
Any idea what could be the issue here??