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.

    Chris L.NinjaTrader Customer Service

    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?
        Chris L.NinjaTrader Customer Service

        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 nicthe, Today, 07:57 PM
          0 responses
          6 views
          0 likes
          Last Post nicthe
          by nicthe
           
          Started by heiheilau2000, 06-11-2024, 08:32 AM
          6 responses
          26 views
          0 likes
          Last Post heiheilau2000  
          Started by franjcy, Today, 01:23 PM
          0 responses
          10 views
          0 likes
          Last Post franjcy
          by franjcy
           
          Started by tony_28217, Today, 12:55 PM
          0 responses
          7 views
          0 likes
          Last Post tony_28217  
          Started by thumper57, Today, 12:12 PM
          0 responses
          16 views
          0 likes
          Last Post thumper57  
          Working...
          X