locked
Processing of reports about JavaScript exception

    Question

  • We receive reports about exceptions for our app in Windows Store. The app is written on JavaScript. We have questions about content of some cab files.

    First one:

    StackTrace=ms-appx://nanosecurity.nanoantivirusskyscan/default_VS2012.html:301:9           rethrowPromiseError()
               ms-appx://nanosecurity.nanoantivirusskyscan/default_VS2012.html:1:291           WinRT Promise.done()()
               ms-appx://nanosecurity.nanoantivirusskyscan/default_VS2012.html:1:49           Promise handler()
               ms-appx://nanosecurity.nanoantivirusskyscan/default_VS2012.html:1:223           WinRT Promise object for Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.BackgroundAccessStatus>()

    The methods are not methods JS. The file ms-appx://nanosecurity.nanoantivirusskyscan/default_VS2012.html doesn't contain JS . So it seems strange for us.

    Second file contains the following:

    SourceFile=ms-appx://microsoft.winjs.1.0/js/base.js
    Line=9731
    Character=9

    and

    StackTrace=ms-appx://microsoft.winjs.1.0/js/base.js:9731:9           DOMWeakRefTableInit
               ms-appx://microsoft.winjs.1.0/js/base.js:9626:2           Global code
               ms-appx://nanosecurity.nanoantivirusskyscan/js/bgscript.js:3:2           Global code

    So here: "ms-appx://nanosecurity.nanoantivirusskyscan/js/bgscript.js:3:2" import of script happens:

    importScripts ("ms-appx://microsoft.winjs.1.0/js/base.js")

    There inside of the file "ms-appx://microsoft.winjs.1.0/js/base.js" the error occurs in the line 9731. It looks like the error occurs on the side of Microsoft code.

    We placed cab files here:

    https://onedrive.live.com/redir?resid=340FE2FBFC915FFA!151&authkey=!ANFbBzbYaRaMH9Q&ithint=file%2ccab

    https://onedrive.live.com/redir?resid=340FE2FBFC915FFA!152&authkey=!ADynaUpD2_vlFug&ithint=file%2ccab

    Could you check and assist us?

    Thank you.

    Wednesday, October 29, 2014 11:55 AM

All replies

  • I'll ask our diagnostics expert to check this out.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, October 30, 2014 1:55 PM
    Moderator
  • These files are actually located in your project under references\Windows Library For JavaScript 2.0\js.   I looked at the version of the files I have and they don't match yours.   Can you look at the ones that are part of your application and determine what is going on?

    Bret Bentzinger (MSFT) @awehellyeah

    Friday, November 07, 2014 10:19 PM
    Moderator
  • Here is Microsoft library which is used in our application https://onedrive.live.com/redir?resid=340FE2FBFC915FFA!153&authkey=!AJDsgCzi7Fayy-I&ithint=file%2cappx
    Tuesday, November 11, 2014 1:56 PM
  • Hello, any news?


    Monday, November 17, 2014 2:19 PM
  • Hello guys, no answer yet?

    Please let me know if you need any auxiliary information.

    TIA

    Monday, November 24, 2014 8:46 AM
  • Did you update your files?

    Bret Bentzinger (MSFT) @awehellyeah

    Monday, November 24, 2014 5:20 PM
    Moderator
  • Hi Bret, if i understood you right, you doubted about the version of Microsoft library we used so I placed it here https://onedrive.live.com/redir?resid=340FE2FBFC915FFA!153&authkey=!AJDsgCzi7Fayy-I&ithint=file%2cappx

    If I understood you wrong, could you please explain again what information do you need?

    Thank you.

    Tuesday, November 25, 2014 12:19 PM
  • Hi guys,

    Any news?

    Tuesday, December 02, 2014 8:25 AM
  •  I cannot repro your issue.  I suggest you debug your project by walking through the javascript code.  If not, then Please post a zip file with steps on how to see the problem. 

    Bret Bentzinger (MSFT) @awehellyeah

    Tuesday, December 02, 2014 5:07 PM
    Moderator