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 Brevo, Today, 01:45 AM
      0 responses
      2 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      3 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      238 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Started by oviejo, Today, 12:28 AM
      0 responses
      5 views
      0 likes
      Last Post oviejo
      by oviejo
       
      Working...
      X