Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Object Reference Not Set To An Instance Of An Object

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

    Object Reference Not Set To An Instance Of An Object

    What would cause something like this?
    It occurs when I start up NinjaTrader sometimes.
    Other times it doesn't happen even though I made no changes to the workspace.

    2016-10-21 10:38:18:875 Cbi.Instrument.RequestBars (to Provider): instrument='AUDUSD' from='10/20/2016 00:00:00' to='10/20/2016 00:00:00' period='1 Minute'
    2016-10-21 10:38:18:897 (NinjaTrader FXCM) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=CashValue currency=UsDollar value=*****
    2016-10-21 10:38:19:204 Cbi.Instrument.RequestBars (to Provider): instrument='EURAUD' from='10/21/2016 00:00:00' to='10/22/2016 00:00:00' period='Daily'
    2016-10-21 10:38:19:351 *************** unhandled exception trapped ***************
    2016-10-21 10:38:19:351 Object reference not set to an instance of an object.
    2016-10-21 10:38:19:352 System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.Data.Bars.GetNewBarsProxy(Bars barsProxy)
    at System.Linq.Enumerable.WhereSelectArrayIterator`2. MoveNext()
    at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)
    at NinjaTrader.Gui.Chart.ChartControl.<>c__DisplayCla ss536_2.<RefreshIndicators>b__9(Object o)
    at System.Threading.QueueUserWorkItemCallback.WaitCal lback_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading._ThreadPoolWaitCallback.PerformWa itCallback()
    2016-10-21 10:38:19:390 Cbi.Instrument.RequestBars (to Provider): instrument='AUDUSD' from='10/21/2016 00:00:00' to='10/21/2016 00:00:00' period='1 Minute'
    2016-10-21 10:38:19:799 *************** unhandled exception trapped ***************
    2016-10-21 10:38:19:799 Object reference not set to an instance of an object.
    2016-10-21 10:38:19:799 System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.Data.Bars.GetNewBarsProxy(Bars barsProxy)
    at System.Linq.Enumerable.WhereSelectArrayIterator`2. MoveNext()
    at System.Collections.Generic.List`1.InsertRange(Int3 2 index, IEnumerable`1 collection)
    at NinjaTrader.Gui.Chart.ChartControl.<>c__DisplayCla ss536_2.<RefreshIndicators>b__9(Object o)
    at System.Threading.QueueUserWorkItemCallback.WaitCal lback_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading._ThreadPoolWaitCallback.PerformWa itCallback()
    2016-10-21 10:38:19:854 Cbi.Instrument.RequestBars (to Provider): instrument='EURUSD' from='10/21/2016 00:00:00' to='10/21/2016 00:00:00' period='1 Minute'
    2016-10-21 10:38:22:692 Cbi.Instrument.RequestBars (to Provider): instrument='EURAUD' from='10/21/2016 00:00:00' to='10/21/2016 00:00:00' period='1 Minute'

    #2
    Hello,

    Thank you for your post.Please email us at PlatformSupport[at]NinjaTrader[dot]com and reference this post by copying the URL from the address bar.
    Kenneth D.NinjaTrader Customer Service

    Comment


      #3
      Thanks. Just did

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      26 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      32 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, Yesterday, 09:53 PM
      2 responses
      49 views
      0 likes
      Last Post wzgy0920  
      Started by Kensonprib, 04-28-2021, 10:11 AM
      5 responses
      192 views
      0 likes
      Last Post Hasadafa  
      Started by GussJ, 03-04-2020, 03:11 PM
      11 responses
      3,234 views
      0 likes
      Last Post xiinteractive  
      Working...
      X