Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 .net unhandled exeption

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

    NT8 .net unhandled exeption

    Hello,
    "Unhandled exeption has occurred in a component in your application."
    I get this exeption every time I set chart type "Volume" and save my workspace then trying to load it.
    Steps to reproduse:
    1. Open NT8 with default workspace open new chart and set type to Volume
    2. Save workspace with custom name
    3. Restart NT


    trace fragment:
    2016-12-04 04:49:19:721 OS='Microsoft Windows NT 6.1.7601 Service Pack 1'/'Win32NT'
    2016-12-04 04:49:19:730 Processors=4
    2016-12-04 04:49:19:730 PhysicalMemory=16384 MB
    2016-12-04 04:49:19:730 .NET/CLR Version='4.0.30319.42000'/64bit
    2016-12-04 04:49:19:730 SqlCeVersion='4.0.8482.1'
    016-12-04 04:49:20:599 SuperDomHotKeys: Center='' Columns='' Indicators='' ReloadAllHistoricalData='Ctrl+Shift+R' ReloadNinjaScript='F5'
    2016-12-04 04:49:20:599 OrderEntryHotKeys=disabled
    2016-12-04 04:49:20:599 AutoClose=disabled
    2016-12-04 04:49:20:922 PrimaryMonitorWPFDPIScale=1.00
    2016-12-04 04:49:23:478 Starting server message polling timer with interval 3600 seconds...
    2016-12-04 04:49:23:725 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
    at NinjaTrader.Data.Bars.GetClose(Int32 index)
    at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
    2016-12-04 04:49:23:736 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
    at NinjaTrader.Data.Bars.GetClose(Int32 index)
    at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
    2016-12-04 04:49:23:821 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
    at NinjaTrader.Data.Bars.GetClose(Int32 index)
    at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
    2016-12-04 04:49:24:340 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
    at NinjaTrader.Data.Bars.GetClose(Int32 index)
    at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
    2016-12-04 04:54:26:246 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
    at NinjaTrader.Data.Bars.GetClose(Int32 index)
    at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
    2016-12-04 04:54:34:665 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
    at NinjaTrader.Data.Bars.GetClose(Int32 index)
    at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
    at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()

    Thanks
    Attached Files

    #2
    I'm not seeing that here. new workspace, ES ##-## chart, 1000 Volume. Save workspace as, and restart.

    Although I have a different Scale going on here...


    016-12-03 23:51:38:654 PrimaryMonitorWPFDPIScale=0.57

    Comment


      #3
      Hello operator,

      Are you using 8.0.1.0?
      (To check this click Help -> About...)

      If so, please send an email to platformsupport [at] ninjatrader [dot] com so that we may further investigate. In the email, please include a link to this forum thread.
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      83 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      47 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X