cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Mefire (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10266) cordova-windows: `JSON.parse` not working
Date Mon, 28 Dec 2015 07:54:49 GMT

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

Omar Mefire updated CB-10266:
-----------------------------
    Description: 
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"

  was:
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:
no pop-up window was shown.


> 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
>
> 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