Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error while saving WorkSpace "There was an error reflecting type..."

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error while saving WorkSpace "There was an error reflecting type..."

    Hi there,

    When I try to save my workspace, I get this error. Any idea how I could troubleshoot that?

    Could not save indicator 'OrderFlowPrints:' There was an error reflecting type 'NinjaTrader.NinjaScript.Indicators.Magzor.OrderFl owPrints'.

    #2
    Hello, thanks for writing in. This OrderFlowPrints indicator has a property that is not able to be saved into the workspace. The original developer will need to review their script and serialize any necessary objects for saving in the workspace, they could also ignore the saving with the [XmlIgnore] tag on the property.

    Comment


      #3
      Thanks for your reply.

      It's my own indicator, I forgot to mention.
      Is there any way to be able to troubleshoot which property it might be?

      Comment


        #4
        Hi Magzor, Can you please share a snippet of your code that contains all of the properties being used?

        Comment


          #5
          Thank you. I found the issue. I had added a public variable without adding the xml tag as you said. Thanks again

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by QueeniCooper, Today, 06:05 AM
          1 response
          19 views
          0 likes
          Last Post springthorpecameron5  
          Started by MaidenTaurus, Today, 05:09 AM
          0 responses
          14 views
          0 likes
          Last Post MaidenTaurus  
          Started by futurenow, 12-06-2021, 05:49 PM
          18 responses
          894 views
          0 likes
          Last Post dj0ntz
          by dj0ntz
           
          Started by nailz420, 05-14-2025, 09:14 AM
          1 response
          128 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Started by NinjaTrader_Brett, 05-12-2025, 03:19 PM
          0 responses
          541 views
          1 like
          Last Post NinjaTrader_Brett  
          Working...
          X