Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Failed to execute DB job 'StrategyUpdateJob'

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

    Failed to execute DB job 'StrategyUpdateJob'

    Failed to execute DB job 'StrategyUpdateJob': There was an error generating the XML document.: Object reference not set to an instance of an object.
    The background:
    1. I get this error on one machine ("A"), but not on another ("B").
    2. I can prevent the error occurring on "A" by deleting a specific set of strategies and indicators.
    3. If I re-import the same set back again to machine "A" where the error occurs, the error starts to occur again.
    4. However, on machine "B" where the error does not occur, deleting the "suspect" strategies and indicators, and then re-importing the same package of indicators and strategies that causes issues when imported to machine "A", does not cause any issues on machine "B".



    Any ideas where to start?

    #2
    Hi AnotherTrader, this is normally reseolved when the DB on the affected machine is reset on Tools > Options > Data. Can you please give this a run on your end and report back?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi, Bertrand

      We did a "Repair", rather than a "Reset", which did not solve the issue.

      Would that have been the same?

      Thanks

      Comment


        #4
        That would not be the same, and I would expect rather a reset is needed here unfortunately to resolve.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          That would not be the same, and I would expect rather a reset is needed here unfortunately to resolve.
          OK, will try that, and report back ...

          Comment


            #6
            Originally posted by NinjaTrader_Bertrand View Post
            That would not be the same, and I would expect rather a reset is needed here unfortunately to resolve.
            That did it (i.e. Reset, rather than Repair).

            Many thanks.

            Comment


              #7
              Hello,
              i get similiar error when i enable my nt strategy. Can you please tell if there is a solution? or how to enlarge db size?
              Here is error message:
              https://www.dropbox.com/s/xkehbfwtqd...nt_message.png

              Comment


                #8
                Originally posted by kujista View Post
                Hello,
                i get similiar error when i enable my nt strategy. Can you please tell if there is a solution? or how to enlarge db size?
                Here is error message:
                https://www.dropbox.com/s/xkehbfwtqd...nt_message.png
                > Tools > Options > Data > Reset DB

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by trilliantrader, Yesterday, 03:01 PM
                3 responses
                29 views
                0 likes
                Last Post NinjaTrader_Clayton  
                Started by cmtjoancolmenero, Yesterday, 03:58 PM
                4 responses
                25 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Brevo, Today, 01:45 AM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by rjbtrade1, 11-30-2023, 04:38 PM
                2 responses
                74 views
                0 likes
                Last Post DavidHP
                by DavidHP
                 
                Started by suroot, 04-10-2017, 02:18 AM
                5 responses
                3,022 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Working...
                X