You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Martin Gonzalez (JIRA)" <ji...@apache.org> on 2014/09/11 18:01:34 UTC

[jira] [Resolved] (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'

     [ https://issues.apache.org/jira/browse/CB-7338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Gonzalez resolved CB-7338.
---------------------------------
    Resolution: Fixed

> [WP8] XHRHelper doesn't resolve request, app crash throwing: 'first chance exception of type 'System.OutOfMemoryException' occurred in Microsoft.Phone.Interop.ni.dll'
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-7338
>                 URL: https://issues.apache.org/jira/browse/CB-7338
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.5.0
>            Reporter: Martin Gonzalez
>            Assignee: Martin Gonzalez
>              Labels: WP8, WP8.1, XHR, XHRHelper
>             Fix For: 3.6.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)