Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Apr 9, 2018 4:01:03 PM |
Updated | Apr 9, 2018 8:55:24 PM |
Subsystem | ASP.NET - Razor |
Assignee | Slava Trenogin (derigel) |
Priority | Normal |
State | Fixed In Branch |
Type | Exception |
Fix version | 2018.1 |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
— EXCEPTION #1/2 [InvalidOperationException]
Message = “SourceFile is not valid.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi
StackTraceString = “
at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.AssertIsValid(IPsiSourceFile sourceFile, String messageText)…
at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.AssertIsValid(IPsiSourceFile sourceFile, String messageText)
at JetBrains.ReSharper.Psi.Razor.CSharp.Template.RazorCSharpTemplateProjectFileLanguageService.GetPsiLanguageType(IPsiSourceFile sourceFile)
at JetBrains.ReSharper.Psi.Razor.CSharp.Mvc.RazorCSharpMvcProjectFileLanguageService.GetPsiProperties(IProjectFile projectFile, IPsiSourceFile sourceFile, IsCompileService isCompileService)
at JetBrains.ReSharper.Psi.Razor.CSharp.Template.RazorCSharpTemplateProjectFileLanguageService.GetPsiProperties(IProjectFile projectFile, IPsiSourceFile sourceFile, IsCompileService isCompileService)
at JetBrains.ReSharper.Psi.StandardPsiSourceFilePropertiesProvider.GetPsiProperties(IPsiSourceFileProperties prevProperties, IProject project, IProjectFile projectFile, IPsiSourceFile sourceFile)
at JetBrains.ReSharper.Psi.PsiSourceFilePropertiesManager.CalculatePsiSourceFileProperties(IProject project, IProjectFile projectFile, IPsiSourceFile sourceFile)
at JetBrains.ReSharper.Psi.PsiSourceFilePropertiesManager.GetPsiProperties(IProject project, IProjectFile projectFile, IPsiSourceFile sourceFile)
at JetBrains.ReSharper.Psi.Modules.DefaultPsiModuleProvider.DefaultProjectPsiModuleHandler.<>c__DisplayClass3_0.<.ctor>b__0(IProjectFile pf, IPsiSourceFile sf)
at JetBrains.ReSharper.Psi.Impl.PsiProjectFile.get_Properties()
at JetBrains.ReSharper.Psi.Caches.PsiCaches.ShouldBuildCaches(IPsiSourceFile sourceFile)
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “SourceFile is not valid.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment)…
at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment)
at JetBrains.ReSharper.Psi.Caches.PsiCaches.ShouldBuildCaches(IPsiSourceFile sourceFile)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
at JetBrains.ReSharper.Psi.Caches.PsiCaches.Execute(IChangeMap changeMap)
at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClass21_0.<InvokeOrderedDependentProviders>b__0(IProgressIndicator pro)
at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTaskTrivial(Action`1 task)
at JetBrains.Application.Progress.SimpleTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
at JetBrains.Application.changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap)
at JetBrains.Application.changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor)
at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeManager.<>c__DisplayClass8_0.<EndTransaction>b__0()
at JetBrains.Application.changes.ChangeManagerImpl.ExecuteAfterChange(Action action)
at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeManager.EndTransaction(ProjectModelBatchChange projectModelBatchChange, ITaskExecutor executor)
at JetBrains.ProjectModel.Impl.ProjectModelBatchChange.Commit(ITaskExecutor executor)
at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeCookie.Dispose()
at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.AddOrUpdateProjectRecursively(ProjectHostChange change, Boolean initializing)
at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.<>c__DisplayClass21_0.<UpdateProjects>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.SolutionLoadTasksSchedulerAsync.ExecuteTask()
at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.ExecuteTasks(Boolean background)
at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.DispatchTasks(Boolean background)
at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ResumeWaitTask(SolutionLoadWaitHandle waitHandle, Boolean background)
at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostStructureWaiter.<ResumeWaitTask>b__11_0()
at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass2_0.<ExecuteOrQueueReadLockEx>b__0()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
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.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 JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
at JetBrains.Threading.JetDispatcher.Run()
at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdModelRoot modelRoot, ApplicationShutdownRequests shutdownRequests)
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 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
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.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 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(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.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args)
at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.<>c.<Main>b__0_0(Lifetime lifetime)
at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main()
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 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
last.action =
app.eap = true
app.internal = true
app.build = 181.SNAPSHOT
app.version.major = 2018
app.version.minor = 1
app.build.date = 2018-04-09T12:58:23.034+0000
app.build.date.release = 2017-12-27T00:00:23.034+0000
app.build.date.release = 2017-12-27T00:00:23.034+0000
app.compilation.timestamp = null
app.product.code =
os.name = Windows 10
java.version = 1.8.0_152-release
java.vm.vendor = JetBrains s.r.o
UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1