Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Random Crashes on Set State and Draw Line.

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

    Random Crashes on Set State and Draw Line.

    I have experienced random crashes with new version. One while changing the Symbol instrument settings in the Data window from "Instrument" to "CME ETH index " see below, the other is Failed to call onRender for chart object "Line" External component has thrown and exception.


    2017-04-27 16:46:36:114 Cbi.Instrument.RequestBars (to Provider): instrument='NQ 06-17' from='4/27/2017 11:00:00 AM' to='4/27/2017 11:59:59 PM' period='1 Tick'
    2017-04-27 16:46:37:081 Cbi.Instrument.RequestBars (to Provider): instrument='NQ 06-17' from='4/27/2017 3:00:00 PM' to='4/27/2017 11:59:59 PM' period='1 Tick'
    2017-04-27 16:46:37:611 Cbi.Instrument.RequestBars (to Provider): instrument='NQ 06-17' from='4/27/2017 4:00:00 PM' to='4/27/2017 11:59:59 PM' period='1 Tick'
    2017-04-27 16:46:37:611 Cbi.Instrument.RequestBars (to Provider): instrument='NQ 06-17' from='4/27/2017 4:00:00 PM' to='4/27/2017 11:59:59 PM' period='1 Tick'
    2017-04-27 16:46:38:549 ERROR: Indicator '': Error on calling 'SetState' method: Object reference not set to an instance of an object.
    2017-04-27 16:46:38:555 *************** unhandled exception trapped ***************
    2017-04-27 16:46:38:555 Write lock may not be acquired with read lock held. This pattern is prone to deadlocks. Please ensure that read locks are released before taking a write lock. If an upgrade is necessary, use an upgrade lock in place of the read lock.
    2017-04-27 16:46:38:559 System.Threading.LockRecursionException: Write lock may not be acquired with read lock held. This pattern is prone to deadlocks. Please ensure that read locks are released before taking a write lock. If an upgrade is necessary, use an upgrade lock in place of the read lock.
    at System.Threading.ReaderWriterLockSlim.TryEnterWrit eLockCore(TimeoutTracker timeout)
    at System.Threading.ReaderWriterLockSlim.TryEnterWrit eLock(TimeoutTracker timeout)
    at NinjaTrader.Data.BarsSeries.Dispose()
    at NinjaTrader.Data.Bars.Dispose(Boolean disposing)
    at NinjaTrader.Data.Bars.Dispose()
    at NinjaTrader.Gui.Chart.ChartControl.<>c__DisplayCla ss539_2.<RefreshIndicators>b__9(Object o)
    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()

    #2
    Hello JerryWar,

    Thanks for posting.



    So that I may investigate I would ask that you contact me by email at PlatformSupport [AT] NinjaTrader [DOT] com. In your message please include a link to this forum thread and a copy of today's trace files. You will find these diagnostic files in the Documents > NinjaTrader 8 > Trace folder. I will need to review a copy of the files which are named 'trace.20170427.XXXXX.txt'. There will likely be multiple files for each day.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    75 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    26 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
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X