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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      603 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      349 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      104 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      560 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X