Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8148

No deviceReady on WP8 in Emulator because of SystemException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      VisualStudioExpress2013, Windows 8.1 Enterprise

      Description

      I successfully created and added wp8 project using cordova CLI.
      Running the app also works, it shows the HTML from my index.html file but then ends up with following below in console.

      On my index.html im trying to setup filesystem opening the cordova.file.dataDirectory using resolveLocalFileSystemURL. But this happens only within deviceReady function, which is never called, because i put a console.log there and i dont see any of my logs in the output window in Visual Studio Express 2013. Whats wrong here?

      ---------------------------------------------------
      Adding feature.value=Device
      Adding feature.value=DebugConsole
      Adding feature.value=File
      Adding feature.value=FileTransfer
      Adding feature.value=Globalization
      Adding feature.value=InAppBrowser
      'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built without symbols.
      A first chance exception of type 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in mscorlib.ni.dll
      Updating IsolatedStorage for APP:DeviceID :: 6eb37ee1-d188-40ff-afb0-78504f5158b4
      CordovaBrowser_LoadCompleted
      Apache Cordova native platform version 3.7.0 is starting
      A first chance exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll
      Error calling js to fire nativeReady event. Did you include cordova.js in your html script tag?

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              eesen Eser Esen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: