Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Occasional crash when changing workspaces

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

    Occasional crash when changing workspaces

    Here is the relevant trace log portion with the file lock error. I just replaced my home directory name with ****

    2016-03-08 07:20:13:893 *************** unhandled exception trapped ***************
    2016-03-08 07:20:13:893 The process cannot access the file 'C:\Users\****\Documents\NinjaTrader 8\db\day\TF 03-16\2016.Last.ncd' because it is being used by another process.
    2016-03-08 07:20:13:897 System.IO.IOException: The process cannot access the file 'C:\Users\*****\Documents\NinjaTrader 8\db\day\TF 03-16\2016.Last.ncd' because it is being used by another process.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.InternalDelete(String path, Boolean checkHost)
    at NinjaTrader.Data.BarsSeries.Save()
    at NinjaTrader.Cbi.Instrument.<>c__DisplayClass189_0. <RequestBars>b__1(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 GrumpyTrader,

    Thank you for your post.

    Temporarily disable security software and ensure any backup software is not running while running NinjaTrader. If you do not see the errors again make sure to add an exception for NinjaTrader 8 in your security software.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    12 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    15 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X