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