Exception from Resharper CLI tools

Our builds logs are littered with these, and despite trying lots of things,nothing makes them go away.   Is this a known issue?

 

Warning: TryInitFileSystemWatcher JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl+WatcherData will lead to listening of the folder we should not listen to (5pcs)[C:\Users\mgillespie\AppData\Local\Temp, C:\Users\mgillespie\AppData\Local\Temp\JetBrains, C:\, D:\, E:\]. At: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.TryInitFileSystemWatcher(Watcher watcher)
at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.AddToWatches(FileSystemPath path, Boolean isDirectory, Boolean watchRecursively)
at JetBrains.Application.FileSystemTracker.FileSystemTrackerImpl.AdviseDirectoryChanges(FileSystemPath directoryPath, Boolean watchRecursively)
at JetBrains.ProjectModel.FileSystemTrackerSolutionProxy.AdviseDirectoryChanges(FileSystemPath directoryPath, Boolean watchRecursively)
at JetBrains.ProjectModel.ProjectItemBase.DoAdviseFileSystemChanges()
at JetBrains.ProjectModel.ProjectFolderImpl.AdviseFileSystemChanges()
at JetBrains.ProjectModel.ProjectItemBase.OnOpen()
at JetBrains.ProjectModel.ProjectItemBase.MyOpenVisitor.VisitProjectItem(IProjectItem projectItem)
at JetBrains.ProjectModel.RecursiveProjectVisitor.VisitProjectFolder(IProjectFolder projectFolder)
at JetBrains.ProjectModel.ProjectFolderImpl.Accept(ProjectVisitor projectVisitor)
at JetBrains.ProjectModel.RecursiveProjectVisitor.VisitProjectFolder(IProjectFolder projectFolder)
at JetBrains.ProjectModel.RecursiveProjectVisitor.VisitProject(IProject project)
at JetBrains.ProjectModel.ProjectImpl.Accept(ProjectVisitor projectVisitor)
at JetBrains.ProjectModel.ProjectManagerBase.OpenProjectInstance(Pair`2 projectInstanceWithLifetime)
at JetBrains.ProjectModel.ProjectManagerBase.<>c__DisplayClass18_0.<EnqueueOpenProjectInstance>b__0()
at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.<>c__DisplayClass24_0.<ExecuteOneTask>b__1()
at JetBrains.Util.Logging.Logger.Catch(Action action)
at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ExecuteOneTask(SolutionLoadTask task)
at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.DispatchTasks(Boolean background)
at JetBrains.ProjectModel.SolutionManagerBase.CreateSolutionInstance(SolutionElement solutionElement, SolutionInstance solutionInstance)
at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostManager.OpenSolution(FileSystemPath location, Object cookie)
at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.<>c__DisplayClass4_0.<OpenSolution>b__0()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.OpenSolution(FileSystemPath solutionFilePath, IShellLocks shellLocks, ILogger logger, SolutionHostManager solutionHost)
at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(Lifetime lifetime, IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
at JetBrains.Util.Logging.Logger.Catch(Action action)
at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__2()
at JetBrains.Threading.JetDispatcher.Closure.Execute()
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass2_0.<RunHostMessageLoop>b__0(Lifetime lifetime)
at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv)
at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input)
at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Main(Assembly assembly, Type environmentZoneType, HostInfo hostInfo, IProductInfo productInfo, String[] args)
at JetBrains.CommandLine.Common.Console.Application.CommandLineProgram.Run[TZone,TProductInfo](String productHostShortName, String[] args)
at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)
at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(String[] args)

0
3 comments

Seems to be caused by SUBST drives.


I have a D:\ SUBST "dev" drive that links to "C:\DEV"  Opening the SLN from D:\  gives the exception, opening from the actual directory doesn't.

 

How do I raise a bug report to get this fixed?  Does anyone actually ever read this stuff, or am I wasting my time?

0

Hello Mark!

 

Sorry for delay in responding.

I've filed corresponding issue - https://youtrack.jetbrains.com/issue/RSRP-470461

Please feel free to comment or vote for it.

Thank you.

0

Hi Mark.
The issue is about opening solution from the root of drive.
Workaround is to move solution to some subfolder.

0

Please sign in to leave a comment.