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 fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,404 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      95 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      159 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Yesterday, 09:29 PM
      0 responses
      8 views
      0 likes
      Last Post Belfortbucks  
      Working...
      X