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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X