The Welkin Suite Forum

String reference not set to an instance of a String. Parameter name: s



String reference not set to an instance of a String. Parameter name: s

  • Please log in to reply

#1
windows version welkinsuite

shefty

    Posted 11 Sep 2018 and edited 18 Sep 2018

    Hey Guys,


    after update to v 1.22.1.4, I get the "String reference not set to an instance of a String. Parameter name: s" error, after creation of a "project from sources".


    Things that I did:

    • cloned fresh repo to my machine
    • created TWS project based on the cloned src folder
    • connected project to my personal sandbox
    • Hit "deploy" (CTRL+Shit+B)
    • changed files and dependencies are correctly listed
    • starts compiling
    • cancels deployment with mentioned error message

    Did anyone of you experience the same or similar issues?


    Any help or ideas are greatly appreciated!!!


    Regards,

    Alex



    6 replies to this topic

    #2

    ihor.zhabolenko

      Posted 11 Sep 2018

      Hi Alexander,

       
      Thank you for your bug report.
       
      May I please ask you to tell me which files did you deploy and please check if these files have an appropriate '*.*-meta.xml' files.
      You can check this in the Solution Explorer if these files are not hidden according to your TWS settings, and also please check this in a project folder in the src -> classes folder.
       
      If the necessary '*.-meta.xml' files are absent, please re-download these files (metadata types) from Salesforce to your TWS project using the 'Configure project metadata components' wizard. For this please open the 'Project metadata components' wizard, disable the necessary metadata types and click Apply, after this, please open the wizard again, enable the same metadata types, click Apply, and pull from Salesforce.
       
      Please let me know if you would have any additional questions or suggestions.
       
      Best Regards, Ihor.

      TWS Team


      #3

      shefty

        Posted 11 Sep 2018

        Hey Ihor,

        thanks for your response!

        There are a couple of classes and pages changed from my teammates, which I try to deploy to my dev sandbox.

        Here is the actual output of the deploy:

        ------ Deploy has started: Project: _spielwiese2_ ------

        Search for changed files has started [11:17:49.416].

        Looking for changed items dependencies...
        The file classes\ab_EventTriggerCLS.cls has been changed.
        The file classes\ab_QuoteLineItemTriggerTest.cls has been changed.
        The file classes\ChangePartner.cls has been changed.
        The file classes\ChangePartner.cls-meta.xml has been changed.
        The file classes\ChangePartner_Test.cls has been changed.
        The file classes\ChangePartner_Test.cls-meta.xml has been changed.
        The file classes\ConsoleMessage.cls has been changed.
        The file classes\ConsoleMessage_Test.cls has been changed.
        The file classes\KakaoMessages.cls has been changed.
        The file classes\LeadMessage.cls has been changed.
        The file classes\ProcessPathOpportunity_Extension.cls has been changed.
        The file classes\ProductSelectionNew_Controller.cls has been changed.
        The file classes\ProductSelectionNew_Controller_Test.cls has been changed.
        The file classes\ProductsPriceAndDiscountCal_Controller.cls has been changed.
        The file classes\QuoteMessageKakao.cls has been changed.
        The file classes\SecondVisitKor_Batch.cls has been changed.
        The file classes\TaskTriggerClass.cls has been changed.
        The file classes\TaskTriggerTestClass.cls has been changed.
        The file classes\Trigger_OpportunityCLS.cls has been changed.
        The file classes\VisitKor_Batch.cls has been changed.
        The file components\ab_Partner_app_conf_email_p_de.component has been changed.
        The file components\HearingGuarantee.component has been changed.
        The file components\ProductSelectionTemplate.component has been changed.
        The file pages\Anamnesis.page has been changed.
        The file pages\ChangePartner.page has been changed.
        The file pages\ChangePartner.page-meta.xml has been changed.
        The file pages\ConsoleCompMessage.page has been changed.
        The file pages\ConsoleComponent_BeforeClicked.page has been changed.
        The file pages\ConsoleComponent_BeforeClicked.page-meta.xml has been changed.
        The file pages\elfVFP_PerformanceWrapper.page has been changed.
        The file pages\OpportunityCloseWonAndLost.page has been changed.
        The file pages\pageQuotesLinkKor.page has been changed.
        The file pages\processpathsliderLego.page has been changed.
        The file pages\PurchaseOrderProductSelection.page has been changed.
        The file triggers\TaskSummaryTrigger.trigger has been changed.
        Dependency file pages\elfVFP_orderProcessing.page will be included into the deploy.
        Dependency file pages\HearingGuarantee.page will be included into the deploy.
        Dependency file pages\ProductSelectionForCommunity.page will be included into the deploy.
        Dependency file pages\ProductSelectionNew.page will be included into the deploy.
        Dependency file pages\ShowProductSelectionBasket.page will be included into the deploy.
        Dependency file classes\Anamnesis_Extension.cls will be included into the deploy.
        Dependency file classes\Chart_Controller.cls will be included into the deploy.
        Dependency file classes\OpportunityClosedPage_Controller.cls will be included into the deploy.
        Dependency file classes\ctrlQuotesLinkKor.cls will be included into the deploy.
        Dependency file classes\ab_Partner_appointment_confirmationCLS.cls will be included into the deploy.
        Dependency file classes\ab_controller_formatted_datetime.cls will be included into the deploy.
        Dependency file classes\HearingGuarantee_Controller.cls will be included into the deploy.
        Dependency file classes\ProductRecommendation_Controller.cls will be included into the deploy.

        Looking for empty files...

        Checking if the changed files have pending server changes [11:17:49.633].
        No pending conflicts were found.

        Choosing the deploy strategy depends on changed files...

        Deploy strategy has been chosen.

        Deploying changed items...
        String reference not set to an instance of a String.
        Parameter name: s

        Time Elapsed 00:00:00.985

        ========== Deploy: Project: _spielwiese2_ failed ==========


        I checked all the mentioned files and all have the corresponding .meta.xml file.


        Did the whole process a couple of times already but this message never popped up. 



        #4

        shefty

          Posted 17 Sep 2018

          Hey Guys,

          any update on this topic?


          Best regards,

          Alex



          #5

          kate.dulko

            Posted 17 Sep 2018

            Hi Alex,


            Thank you for your post and for the provided details.


            Our developers still look for a reason for this error and for a solution for this issue.


            Meantime, if you don't mind, can you please check if the next workarounds could help in this case?

            Here the workarounds are:

            1. Please use the 'Deploy to Organization' feature to update the necessary files.
              Please select the 'Use organization from the project' option at the first stage of the deployment process and select your current project as a target org.
              Please let us know if the deployment would be succeeded or if you would get the same/another error as a result.
            2. Another workaround is to create a new TWS project using the sources of your current project (the 'src' folder), however, please delete (also, you can make a backup copy) the 'package.xml' file.
              Please check if the issue would be reproduced for this newly created project.
              In a frame of this project creation, the IDE will create a new 'package.xml' file, and this could help to solve the issue if exactly this file contains some dissimilarities.

            In both cases, if you would get errors, please send us a bug report(s) with attached log files directly from the IDE.

            Looking forward to your response if the workaround would work for you, and we will let you know just when we would have any results of our investigation on this issue.


            Thank you for your collaboration.


            Best Regards,

            Kate


            Kate Dulko
            Customer Relations

            The Welkin Suite

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

             

              


            #6

            shefty

              Posted 18 Sep 2018

              Hey Kate,

              thank you very much for your suggested steps.

              As I started to give your instructions a try, the "normal" project creation worked perfectly fine again.


              So, apparently the issue solved itself :)


              Thanks again for your support and have a nice week!


              Alex



              #7

              kate.dulko

                Posted 18 Sep 2018

                Hi Alex,


                Thank you for your response and for your update!

                I'm happy to hear that you can continue your working process in the IDE.


                We will investigate more detailed what could be a reason for the issue, and looks like this was in fact related to some dissimilarities in the 'package.xml' or in the project file.


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


                Have a nice week too!


                Best 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