cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10266) cordova-windows: `JSON.parse` not working
Date Thu, 07 Jan 2016 19:02:40 GMT

    [ https://issues.apache.org/jira/browse/CB-10266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087884#comment-15087884
] 

Nikhil Khandelwal commented on CB-10266:
----------------------------------------

This looks related to CB-9097. Are your running this as admin? In cordova-windows 4.2.0 we
provide a better error message for this.

> cordova-windows: `JSON.parse` not working
> -----------------------------------------
>
>                 Key: CB-10266
>                 URL: https://issues.apache.org/jira/browse/CB-10266
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>    Affects Versions: 4.1.0
>            Reporter: Omar Mefire
>              Labels: triaged
>
> (running on windows 10, with cordova-windows version 4.1.0)
> To repro:
> - cordova create test
> - cd test
> - in your index.html file, add the following javascript code:
> ```<script type="text/javascript">
>       JSON.parse('{}');
> </script>```
> - cordova platform add windows
> - cordova run windows
> Expected:
> No error
> What happened:
> The following error was thrown:
> "Exception calling "ActivateApplication" with "4" argument(s): "The remote procedure
call failed. (Exception from
> HRESULT: 0x800706BE)"
> At C:\Users\om\Desktop\livereload-test\platforms\windows\cordova\lib\WindowsStoreAppUtils.ps1:164
char:5
> +     $appActivator.ActivateApplication($applicationUserModelId,$null,[ ...
> +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
>     + FullyQualifiedErrorId : COMException"



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message