Exception trying to run in simulator or build in cloud

4 posts, 0 answers
  1. James
    James avatar
    5 posts
    Member since:
    May 2013

    Posted 06 Jul 2014 Link to this post

    AppBuilder extension version: 2014.2.702.4

    First, this is a project I've been running without issue on my main dev machine for the last couple weeks. I just installed the AppBuilder extension (VS 2013) on my laptop and I get the following exception in my output window for AppBuilder when trying to run in simulator (simulator never launches).

    ​[2014-07-06 12:09:13.636] Log (Exception,High): System.ArgumentNullException: Value cannot be null.
    Parameter name: input

    Server stack trace:
    at System.Version.Parse(String input)
    at System.Version..ctor(String version)
    at Telerik.BlackDragon.Client.Mobile.Extensions.MobileProjectMetadataExtensions.GetFrameworkVersion(IProjectMetadata metadata)
    at Telerik.BlackDragon.Client.Mobile.Simulator.Extensions.ProjectMetadataExtensions.GetConfiguration(IProjectMetadata projectMetadata, String projectBasePath, String assemblyPaths, String indexFileName)
    at Telerik.BlackDragon.Client.Simulator.RunInSimulatorMenuCommandBase.GetConfiguration(IceniumProjectNode project)
    at Telerik.BlackDragon.Client.Simulator.RunInSimulatorMenuCommandBase.<ExecuteCommandForProject>d__0.MoveNext()


    And when trying to build in the cloud I get this wall of text message box:


    The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

    1) Value cannot be null.
    Parameter name: input

    Resulting in: An exception occurred while trying to create an instance of type 'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel'.

    Resulting in: Cannot activate part 'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel'.Element: Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel -->  Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: Cannot get export 'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel (ContractName="BuildWizardPageItem")' from part 'Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel'.Element: Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel (ContractName="BuildWizardPageItem") -->  Telerik.BlackDragon.Client.Mobile.Android.ViewModels.BuildWizard.AndroidBuildViewModel -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: An exception occurred while calling the 'OnImportsSatisfied' method on type 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel'.

    Resulting in: Cannot activate part 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel'.Element: Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel -->  Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: Cannot get export 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel (ContractName="Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel")' from part 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel'.Element: Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel (ContractName="Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel") -->  Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardPlatformViewModel -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: Provide value on 'Telerik.BlackDragon.Client.UI.Markup.ImportExtension' threw an exception.

    Resulting in: An exception occurred while trying to create an instance of type 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage'.

    Resulting in: Cannot activate part 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage'.Element: Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage -->  Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: Cannot get export 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage (ContractName="BuildWizardPage")' from part 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage'.Element: Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage (ContractName="BuildWizardPage") -->  Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardPlatformPage -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: An exception occurred while calling the 'OnImportsSatisfied' method on type 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel'.

    Resulting in: Cannot activate part 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel'.Element: Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel -->  Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: Cannot get export 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel (ContractName="Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel")' from part 'Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel'.Element: Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel (ContractName="Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel") -->  Telerik.BlackDragon.Client.Mobile.Core.UI.ViewModels.BuildWizard.BuildWizardDialogViewModel -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: Provide value on 'Telerik.BlackDragon.Client.UI.Markup.ImportExtension' threw an exception.

    Resulting in: An exception occurred while trying to create an instance of type 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog'.

    Resulting in: Cannot activate part 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog'.Element: Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog -->  Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")

    Resulting in: Cannot get export 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog (ContractName="Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog")' from part 'Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog'.Element: Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog (ContractName="Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog") -->  Telerik.BlackDragon.Client.Mobile.Build.Views.BuildWizardDialog -->  DirectoryCatalog (Path="C:\Users\James.James-Desktop\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\o2pnpdde.fg5")
  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 09 Jul 2014 Link to this post

    Hello James,

    This is unfortunate to hear.

    Could you check if deleting the cache will solve the issue on your side? To do this, go to the  %localappdata%\Telerik\BlackDragon\Cache folder and delete all of its content. Then, check if the simulator will start as expected.

    I hope this helps. Please, let me know of the results.

    Regards,
    Kaloyan
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  3. Niteen
    Niteen avatar
    3 posts
    Member since:
    Feb 2012

    Posted 05 Nov 2015 in reply to Kaloyan Link to this post

    I am also getting the same error when i click on build in cloud but my simulator is working.

    This problem started after updating my vs extensions to 2015.4.1104.1

    I cleared the cache but still not resolved.

     

  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Nov 2015 Link to this post

    Hello Niteen,

    I am sorry to hear you experience such an issue after upgrading to the latest extension. Working with Visual Studio, I tested building in the Cloud locally and it seems to be working fine. 

    In order to be able to advice you further, may I ask you to share some additional information:
    - Does the error still occur if you try to log out and then log in again?
    - How have you updated the VS Extension? Have you tried to uninstall the existing one and then install the newest version?
    - Is there anything specific with your setup that I should keep in mind?
    - Any other information that you can consider as relevant.

    Looking forward to hearing from you.  

    Regards,
    Dimitrina
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top