Got an exception on running resharper c++ clt
Hi. Getting an exception on running resharper commandline tools on solution:
class 'GenericError<Protocols::GameMetadata::Errors::MetadataUnavailableError_traits>' is not instantiated
--- EXCEPTION #1/1 [LoggerException]
Message = “class 'GenericError<Protocols::GameMetadata::Errors::MetadataUnavailableError_traits>' is not instantiated”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
в JetBrains.Util.Logging.Logger.LogError(String message)
в JetBrains.ReSharper.Psi.Cpp.Symbols.CppClassResolveEntityWithSubstitution.AssertInstantiated()
в JetBrains.ReSharper.Psi.Cpp.Symbols.AssertClassInstantiated(ICppClassResolveEntity )
в JetBrains.ReSharper.Psi.Cpp.Symbols.AssertClassHasDefinition(ICppClassResolveEntity )
в JetBrains.ReSharper.Psi.Cpp.Lookup.CppLookupSetCache2.DoLookup(ICppClassResolveEntity )
в JetBrains.ReSharper.Psi.Cpp.Lookup.CppLookupSetCache2.FindSubobjectType(ICppClassResolveEntity derived, ICppClassResolveEntity base, CppViewPos viewPos)
в JetBrains.ReSharper.Psi.Cpp.Symbols.GetBaseKind(ICppClassResolveEntity derived, ICppClassResolveEntity base, CppViewPos vp)
в JetBrains.ReSharper.Psi.Cpp.Types.CppTypesUtil.GetBaseKind(CppQualType derivedT, CppQualType baseT, CppViewPos viewPos)
в JetBrains.ReSharper.Psi.Cpp.Types.CppTypesUtil.IsAccessibleAndUnambiguousBase(CppQualType derivedT, CppQualType baseT, CppViewPos viewPos)
в JetBrains.ReSharper.Psi.Cpp.Types.CppTypesUtil.MatchesForExceptionHandling(CppQualType thrown, CppQualType handler, CppTypeContext tc)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowElementBuilder.ResolveThrowExits(IList`1 catches, CppControlFlowElementBuilder unexpectedException)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildTryCatchControlFlow[T](T tryNode, IEnumerable`1 catchSections, CppControlFlowElementBuilder body)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildTryStatement(TryStatement tryStatement)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildStatement(ICppStatement statement)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.<BuildCompoundStatement>b__0(ICppStatement stmt)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.<BuildControlFlowSequence>d__2`1.MoveNext()
в System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildCompoundStatement(CompoundStatement compStmt)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildTrailingNodeBody(CppControlFlowGraphBuilder builder, ICppDeclarationTrailingNode trailingNode)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildFunctionBody(CppControlFlowGraphBuilder builder, ICppDeclarationTrailingNode trailingNode, IControlFlowElement& functionExit)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildGraph(CppFunctionDeclaration decl)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowUtilities.Build(CppFunctionDeclaration decl)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppControlFlowErrorsAnalyzer.Run(ITreeNode node, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
в JetBrains.ReSharper.Daemon.Stages.Dispatcher.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer context)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.CppProcessNodeWithDaemon.Process()
в JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
в JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state)
в System.Threading.Tasks.Task.Execute()
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
в System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
в System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
в System.Threading.Tasks.Task.WrappedTryRunInline()
в System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
в JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
в JetBrains.Util.SafeDisposable.DisposeInternal()
в JetBrains.ReSharper.Psi.Cpp.Util.CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>.~CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>()
в JetBrains.ReSharper.Psi.Cpp.Util.CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>.Dispose(Boolean )
в JetBrains.ReSharper.Psi.Cpp.Util.CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>.Dispose()
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.Execute(Action`1 commiter)
в JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass10.<>c__DisplayClass13.<DoHighlighting>b__c(IDaemonStage stage)
в JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass14.<>c__DisplayClass16.<EnqueueDependentJobs>b__12()
в JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
в JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state)
в System.Threading.Tasks.Task.Execute()
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
в System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
в JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
в JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
в JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart()
”
class "GenericError<Protocols::GameMetadata::Errors::MetadataUnavailableError_traits>" must have a definition
--- EXCEPTION #1/1 [LoggerException]
Message = “class "GenericError<Protocols::GameMetadata::Errors::MetadataUnavailableError_traits>" must have a definition”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
в JetBrains.Util.Logging.Logger.LogError(String message)
в JetBrains.ReSharper.Psi.Cpp.Symbols.AssertClassHasDefinition(ICppClassResolveEntity )
в JetBrains.ReSharper.Psi.Cpp.Lookup.CppLookupSetCache2.DoLookup(ICppClassResolveEntity )
в JetBrains.ReSharper.Psi.Cpp.Lookup.CppLookupSetCache2.FindSubobjectType(ICppClassResolveEntity derived, ICppClassResolveEntity base, CppViewPos viewPos)
в JetBrains.ReSharper.Psi.Cpp.Symbols.GetBaseKind(ICppClassResolveEntity derived, ICppClassResolveEntity base, CppViewPos vp)
в JetBrains.ReSharper.Psi.Cpp.Types.CppTypesUtil.GetBaseKind(CppQualType derivedT, CppQualType baseT, CppViewPos viewPos)
в JetBrains.ReSharper.Psi.Cpp.Types.CppTypesUtil.IsAccessibleAndUnambiguousBase(CppQualType derivedT, CppQualType baseT, CppViewPos viewPos)
в JetBrains.ReSharper.Psi.Cpp.Types.CppTypesUtil.MatchesForExceptionHandling(CppQualType thrown, CppQualType handler, CppTypeContext tc)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowElementBuilder.ResolveThrowExits(IList`1 catches, CppControlFlowElementBuilder unexpectedException)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildTryCatchControlFlow[T](T tryNode, IEnumerable`1 catchSections, CppControlFlowElementBuilder body)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildTryStatement(TryStatement tryStatement)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildStatement(ICppStatement statement)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.<BuildCompoundStatement>b__0(ICppStatement stmt)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.<BuildControlFlowSequence>d__2`1.MoveNext()
в System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildCompoundStatement(CompoundStatement compStmt)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildTrailingNodeBody(CppControlFlowGraphBuilder builder, ICppDeclarationTrailingNode trailingNode)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildFunctionBody(CppControlFlowGraphBuilder builder, ICppDeclarationTrailingNode trailingNode, IControlFlowElement& functionExit)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowGraphBuilder.BuildGraph(CppFunctionDeclaration decl)
в JetBrains.ReSharper.Feature.Services.Cpp.ControlFlow.CppControlFlowUtilities.Build(CppFunctionDeclaration decl)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppControlFlowErrorsAnalyzer.Run(ITreeNode node, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
в JetBrains.ReSharper.Daemon.Stages.Dispatcher.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer context)
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.CppProcessNodeWithDaemon.Process()
в JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
в JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state)
в System.Threading.Tasks.Task.Execute()
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
в System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
в System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
в System.Threading.Tasks.Task.WrappedTryRunInline()
в System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
в JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
в JetBrains.Util.SafeDisposable.DisposeInternal()
в JetBrains.ReSharper.Psi.Cpp.Util.CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>.~CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>()
в JetBrains.ReSharper.Psi.Cpp.Util.CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>.Dispose(Boolean )
в JetBrains.ReSharper.Psi.Cpp.Util.CppDisposableProxy<JetBrains::Application::Threading::Tasks::TaskBarrier ^>.Dispose()
в JetBrains.ReSharper.Psi.Cpp.Daemon.CppDaemonStageProcess.Execute(Action`1 commiter)
в JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass10.<>c__DisplayClass13.<DoHighlighting>b__c(IDaemonStage stage)
в JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass14.<>c__DisplayClass16.<EnqueueDependentJobs>b__12()
в JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
в JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state)
в System.Threading.Tasks.Task.Execute()
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
в System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
в JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
в JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
в JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart()
”
Please sign in to leave a comment.
Hello,
Thanks for the info, we'll investigate!