Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error - Unhandled exception: There was an error generating the XML document.

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

    Error - Unhandled exception: There was an error generating the XML document.

    Hello Support

    I see this has been reported a few times on the forum. Last report I found was here - https://ninjatrader.com/support/foru...d.php?p=507088

    I have an indicator that I'm not able to save the preset or save a chart template with? When I try to save a preset it generates the following errors:

    "Could not save indicator 'RbVOLB:' There was an error generating the XML document."

    and

    Unhandled exception: There was an error generating the XML document.

    and

    Failed to restore Indicator 'Unknown'. Most likely (a) the implementation changed or (b) one or more properties have been renamed or removed or (c) the custom assembly which implements this Indicator no longer is there.


    Appreciate your assistance

    #2
    Originally posted by TraderYoda View Post
    Hello Support

    I see this has been reported a few times on the forum. Last report I found was here - https://ninjatrader.com/support/foru...d.php?p=507088

    I have an indicator that I'm not able to save the preset or save a chart template with? When I try to save a preset it generates the following errors:

    "Could not save indicator 'RbVOLB:' There was an error generating the XML document."

    and

    Unhandled exception: There was an error generating the XML document.

    and

    Failed to restore Indicator 'Unknown'. Most likely (a) the implementation changed or (b) one or more properties have been renamed or removed or (c) the custom assembly which implements this Indicator no longer is there.


    Appreciate your assistance


    This problem has been fixed by following the information on post located at :



    A friend changed the code to:

    add [XmlIgnore] to brush property

    This fixed the problem!

    Comment


      #3
      Hello TraderYoda,

      The input likely is not properly serialized.

      Below is a link to a forum post that has an example of a properly serialized input.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      9 views
      0 likes
      Last Post burtoninlondon  
      Started by AaronKoRn, Yesterday, 09:49 PM
      0 responses
      14 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Yesterday, 08:42 PM
      0 responses
      11 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Yesterday, 07:51 PM
      0 responses
      13 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,983 views
      3 likes
      Last Post jhudas88  
      Working...
      X