Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Crash on Startup

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

    Crash on Startup

    I was working on an existing indicator when it locked up on me.

    Now, when I try to start Ninja 18, a debug message:

    An unhandled exception ('<System.StackOverFlowException>") occurred in NinjaTrader.exe [6712].

    I do see the Control Center loaded and one Strategy Analyzer window. The changes to the indicator included an SMA and other indicators to the Strategy Window.

    Next, I MOVED all the workspaces to a subfolder under Workspaces. That got the program to reload again at least.

    Now, if I try to do redo the Strategy Analyzer, just selecting it causes this error:
    An unhandled exception ('<System.StackOverFlowException>") occurred in NinjaTrader.exe [3112].

    I commented out the code that I added and recompiled, and get the same error above.

    ******** RESOLVED *************
    I had a Property item getting the value from itself, for example:

    [Description(
    "When running a backtest, show the indicators on the chart.")]
    [Category(
    "Strategy")]
    publicbool ShowIndicatorsOnChart
    {
    get { return ShowIndicatorsOnChart; }
    set { ShowIndicatorsOnChart = value; }
    }

    Notice the Get and Set variable was the same as the Public - that is what caused this error. Just FYI


    Thanks
    John
    Last edited by bobcat70; 07-21-2010, 06:32 PM.

    #2
    Hello,

    Thanks for reporting.

    I will send this to development to see if this is expected behaivior.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    160 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    308 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    349 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X