[
https://issues.apache.org/jira/browse/CB-10266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Omar Mefire updated CB-10266:
-----------------------------
Description:
(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"
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:
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"
> 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
>
> (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: [email protected]
For additional commands, e-mail: [email protected]