• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by aviat72, Today, 12:41 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by _Zero_, 01-06-2020, 01:16 PM
    2 responses
    75 views
    2 likes
    Last Post CiprianV  
    Started by RuthB, 05-29-2020, 09:41 PM
    3 responses
    33 views
    0 likes
    Last Post aviat72
    by aviat72
     
    Started by Jorge.andres.o, Yesterday, 08:22 PM
    0 responses
    7 views
    0 likes
    Last Post Jorge.andres.o  
    Started by mtamaku, Yesterday, 06:54 PM
    0 responses
    11 views
    0 likes
    Last Post mtamaku
    by mtamaku
     
    Working...
    X