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 Tim-c, Today, 03:54 AM
                0 responses
                3 views
                0 likes
                Last Post Tim-c
                by Tim-c
                 
                Started by FrancisMorro, Today, 03:24 AM
                0 responses
                2 views
                0 likes
                Last Post FrancisMorro  
                Started by Segwin, 05-07-2018, 02:15 PM
                10 responses
                1,772 views
                0 likes
                Last Post Leafcutter  
                Started by Rapine Heihei, 04-23-2024, 07:51 PM
                2 responses
                31 views
                0 likes
                Last Post Max238
                by Max238
                 
                Started by Shansen, 08-30-2019, 10:18 PM
                24 responses
                945 views
                0 likes
                Last Post spwizard  
                Working...
                X