Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Error message when map no correctly formated and big mess !!!!

    Scheduled Pinned Locked Moved Support
    buildmaster
    2 Posts 2 Posters 11 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      PhilippeC.
      last edited by

      Hello
      when you create a map in application settings in bulk mode, and if there are syntax error, you have an error message.

      To solve the problem, you have to remove the variable thru the Administation page, and create it correctly.

      If the map is create as pipeline variable, there is no error until you start a step then you have an error.

      Test case :

      Bulk insert in Settings for an Application

      {
        "TESTCASE": {
          "value": "%(Key1:Value1,Key2:`$ServerName,Key3`:OupsMistake)",
          "sensitive": true
        },
      

      Results

      System.FormatException: Invalid key name: Key3\` 
      at Inedo.ExecutionEngine.Variables.TextProcessor.ReadMap() 
      at Inedo.ExecutionEngine.Variables.TextProcessor.ReadVariableOrFunction(Boolean onlyScalar) 
      at Inedo.ExecutionEngine.Variables.TextProcessor.ReadNext() 
      at Inedo.ExecutionEngine.Variables.ProcessedString.Load(TextReader reader) 
      at Inedo.BuildMaster.Variables.BuildMasterVariable.GetProcessedValue(String unprocessedValue, RuntimeValueType type) 
      at Inedo.BuildMaster.Variables.BuildMasterVariable..ctor(Variables variable) 
      at Inedo.BuildMaster.Variables.BuildMasterVariable.<GetVariablesAccessibleFromScope>d__16.MoveNext() 
      at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() 
      at Inedo.Web.Controls.Element.<GetControlsFromArgument>d__41.MoveNext() 
      at Inedo.Web.Controls.Element..ctor(String elementType, Object[] content) 
      at Inedo.BuildMaster.Web.WebApplication.Controls.VariableSummary..ctor(IGenericBuildMasterContext context) 
      at Inedo.BuildMaster.Web.WebApplication.Pages.Applications.EditApplicationPage.CreateChildControls() 
      at Inedo.BuildMaster.Web.WebApplication.Pages.BuildMasterSimplePage.<InitializeAsync>d__8.MoveNext() 
      --- End of stack trace from previous location where exception was thrown --- 
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
      at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__46.MoveNext() 
      --- End of stack trace from previous location where exception was thrown --- 
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
      at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) 
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
      at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) 
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      
      Product: BuildMaster  
      Version: 6.1.0
      1 Reply Last reply Reply Quote 0
      • T Offline
        thoven
        last edited by

        Thank you for the report; this will be resolved by the following issue: BM-3364

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation