The Welkin Suite Forum

[Solved] Version Control window Completely Blank



Version Control window Completely Blank

  • Please log in to reply

#1
windows version welkinsuite

adouglas@assurexhealth.com

    Posted 02 Apr 2018 and edited 08 Aug 2018

    I am new to The Welkin Suite and downloaded the product under a trial license today.  From the IDE, I created a new Salesforce DX project, and then I created a local Git repository for it by following the steps outlined here: https://docs.welkinsuite.com/?id=windows:how_does_it_work:teamwork_and_version_control:git_support:how_to_start:start.  The repository was successfully created.  However, in The Welkin Suite IDE, if I go to View > Version Control, the Version Control window displays and it's completely blank.  There's no text in it at all.  There doesn't seem to be any connectivity with Git as is reported in the documentation...  I'm hoping to utilize Git integration with the IDE but I'm not seeing it.

    I've attached a screenshot of what I'm seeing - I clicked on the little down arrow to show that it doesn't have any meaningful options in it.  There is no text behind the little popup window.


    Thanks,

    Andy


    Attached Files


    5 replies to this topic

    #2

    kate.dulko

      Posted 02 Apr 2018

      Hi Andy,


      Thank you for contacting us with this.


      Currently, the Version Control functionality for SalesforceDX projects is not implemented yet - we are going to extend TWS features for DX projects in further versions of the IDE and will work on this soon.

      Right now, you can use the built-in Command Line to connect your TWS Salesforce DX project to your existing repository.


      As a side note, here you can find known limitations in TWS functionality for salesforce DX - we are going to implement all of them soon.


      If you would have any additional questions, please let us know - we'll be happy to assist.


      Regards,

      Kate



      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      adouglas@assurexhealth.com

        Posted 03 Apr 2018

        Thanks for the reply.  I created a Salesforce project instead of a DX project, and a Git repository at the project folder, and after re-starting TWS and loading the project, I still see the "Version Control is not enabled for this project..." message.  So it doesn't look like Version Control is working at all in my case.

        Also FWIW, if I launch Visual Studio directly with the solution name, I'm seeing the following exception in the Version Control window:

        An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\username\AppData\Roaming\Microsoft\AppEnv\12.0\ActivityLog.xml".
        Exception details:
        System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = VersionControlMainPanelViewModel (ReflectionActivator), Services = [WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(WelkinSuite.ShellCore.Services.ShellWindowsService.IShellWindowsService, WelkinSuite.SystemServices.Services.IFileSystemService, WelkinSuite.GettingStarted.IFeatureDisplayManager, WelkinSuite.ProjectModel.IWelkinSuiteApplication, WelkinSuite.Application.VersionControl.Services.IGitVersionControlProviderFactory, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Presentation.Services.IMessageBoxService, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Application.VersionControl.IVersionControlSettingsHelper, WelkinSuite.SettingsService.Services.IMergeToolsSettingsService, WelkinSuite.MergeToolService.Services.IMergeTreeWayHelper)' on type 'VersionControlMainPanelViewModel'. ---> Value cannot be null.
        Parameter name: name (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(WelkinSuite.ShellCore.Services.ShellWindowsService.IShellWindowsService, WelkinSuite.SystemServices.Services.IFileSystemService, WelkinSuite.GettingStarted.IFeatureDisplayManager, WelkinSuite.ProjectModel.IWelkinSuiteApplication, WelkinSuite.Application.VersionControl.Services.IGitVersionControlProviderFactory, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Presentation.Services.IMessageBoxService, WelkinSuite.ShellCore.Services.ShellDifferenceService.IShellDifferenceService, WelkinSuite.Application.VersionControl.IVersionControlSettingsHelper, WelkinSuite.SettingsService.Services.IMergeToolsSettingsService, WelkinSuite.MergeToolService.Services.IMergeTreeWayHelper)' on type 'VersionControlMainPanelViewModel'. ---> Value cannot be null.
        Parameter name: name (See inner exception for details.) ---> System.ArgumentNullException: Value cannot be null.
        Parameter name: name
           at LibGit2Sharp.RemoteCollection.RemoteForName(String name, Boolean shouldThrowIfNotFound)
           at LibGit2Sharp.RemoteCollection.get_Item(String name)
           at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.MapBranchToGitBranch(Repository repository, Branch branch)
           at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.<>c__DisplayClass23.<GetGitCurrentBranch>b__22(GitRepository repository)
           at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.RepositoryOperation(Action`1 action)
           at WelkinSuite.LocalHistoryService.Implementation.Services.GitVersionControlProvider.GetGitCurrentBranch()
           at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel.get_IsRepositoryInitialized()
           at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel.SolutionUpdateLoading(ISalesforceProject project)
           at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanelViewModel..ctor(IShellWindowsService shellWindowsService, IFileSystemService fileSystemService, IFeatureDisplayManager featureDisplayManager, IWelkinSuiteApplication application, IGitVersionControlProviderFactory versionControlProviderFactory, IShellDifferenceService differenceService, IMessageBoxService messageBoxService, IShellDifferenceService shellDifferenceService, IVersionControlSettingsHelper versionControlSettingsHelper, IMergeToolsSettingsService mergeToolsSettingsService, IMergeTreeWayHelper mergeTreeWayHelper)
           at lambda_method(Closure , Object[] )
           at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
           --- End of inner exception stack trace ---
           at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
           at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
           at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
           --- End of inner exception stack trace ---
           at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
           at Autofac.Core.Resolving.InstanceLookup.Execute()
           at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
           at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
           at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
           at Autofac.Core.Container.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
           at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
           at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
           at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
           at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context)
           at WelkinSuite.DI.ProjectContainer.Resolve[T]()
           at WelkinSuite.Presentation.ToolWindows.VersionControl.VersionControlMainPanel..ctor()
           at WelkinSuite.CorePackage.ToolWindows.VersionControl.VersionControlMainToolWindow..ctor()
           --- End of inner exception stack trace ---
           at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
           at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
           at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
           at System.Activator.CreateInstance(Type type, Boolean nonPublic)
           at System.Activator.CreateInstance(Type type)
           at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
           at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
           at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
           at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()



        #4

        kate.dulko

          Posted 03 Apr 2018

          Hi Andy,


          Thank you for your response and for all the details about the error that you got.


          A reason for this issue is that there is no selected tracking branch - our developers will work to handle this case and to solve the issue.

          Right now, to continue your working process in the IDE, please set up all your tracking branches using the next steps:

              1. open the command line for the folder where your local repository is located;

              2. please use the next command for each of your tracking branches:
                  $git branch -u origin/{trackingBranchName}


          After this, please launch the application and please let me know if the issue would be reproduced.


          Thank you,

          Kate



          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            


          #5

          adouglas@assurexhealth.com

            Posted 03 Apr 2018

            Thank you - my issue was that I only had a local repository.  I had to create a remote repository and link the two using:

            git remote add origin {url to the remote repository}

            git push --all -u origin


            Then when I reloaded the project in Visual Studio, the Version Control window started to work.



            #6

            kate.dulko

              Posted 04 Apr 2018

              Hi Andy,


              Thank you for your response with the update and for sharing with us the steps that helped you to solve the issue.

              I'm happy to hear that now you can use the built-in Git-integration in The Welkin Suite IDE.


              If you would have any other questions or suggestions, please let me know - I'll be happy to assist.


              Regards,

              Kate


              Kate Dulko
              Customer Relations

              The Welkin Suite

              twitter: @KateDulko
              skype id: d_katerina
              e-mail: kate.dulko@welkinsuite.com

               

                


              Boost Your Productivity. Get Started Today

              Try Free Trial