Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7338

[WP8] XHRHelper doesn't resolve request, app crash throwing: 'first chance exception of type 'System.OutOfMemoryException' occurred in Microsoft.Phone.Interop.ni.dll'

    XMLWordPrintableJSON

    Details

      Description

      The XHRHelper class for Windows Phone 8 it doesn't resolve some XHR requests, at some point of the process it when it tries to load the URI to get the resource it doesn't resolve it.
      In addition to that, when it doesn't resolve the path it starts to throw exceptions: 'A first chance exception of type 'System.OutOfMemoryException' occurred in Microsoft.Phone.Interop.ni.dll', per each XHR request pointing out to lines where 'Browser.InvokeScript'.
      That exception should be handled to throw information about a resource that it was not found, instead of crash the application.

      Some of this XHR requests where handled by requireJS & text plugin

        Attachments

          Activity

            People

            • Assignee:
              martin.c.glez.glez Martin Gonzalez
              Reporter:
              martin.c.glez.glez Martin Gonzalez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: