Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Apr 5, 2012 12:40:31 PM |
Updated | Apr 20, 2012 9:20:43 PM |
Resolved | Apr 20, 2012 9:20:42 PM |
Priority | Normal |
Type | Exception |
Fix versions | No Fix versions |
State | Duplicate |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.10.157, Built=2012-04-04T17:41:42, Configuration=“Csharp PublicMode Vbnet VS1100”
DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpMethod is not valid. Cached type member is valid
--- EXCEPTION #1/2 [InvalidOperationException]
Message = “DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpMethod is not valid. Cached type member is valid”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpMethod is not valid. Cached type member is valid”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “Pool Thread #2”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpMethod is not valid. Cached type member is valid
--- EXCEPTION #1/2 [InvalidOperationException]
Message = “DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpMethod is not valid. Cached type member is valid”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi
StackTraceString = “
at JetBrains.ReSharper.Psi.DeclaredElementExtensions.AssertIsValid(IDeclaredElement element, String messageText) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\DeclaredElements\IDeclaredElement.cs:line 74 at JetBrains.ReSharper.Psi.Impl.Caches2.TypeMembersCache.GetOrCreateDeclaredElement[TDecl](TDecl declaration, Func`2 factory) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\caches2\symbolCache\TypeMembersCache.cs:line 400 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ProperTypeMemberDeclarationBase.get_DeclaredElement() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\ProperTypeMemberDeclarationBase.cs:line 37 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclarationStub.AddDeclarationsAfterElement(ISymbolTable parentTable, ITreeNode element, Int32 level, SymbolTableMode mode) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\MethodDeclaration.cs:line 121 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.ScopeAccumulator.ProcessAfterInterior(ITreeNode element) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\Resolve\SymbolTableBuilder.cs:line 173 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\IRecursiveElementProcessor.cs:line 130 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclarationStub.ProcessDescendantsForResolve(IRecursiveElementProcessor processor) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\MethodDeclaration.cs:line 151 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.WalkScopeStack(ITreeNode element, Int32 level, SymbolTableMode mode, Boolean includeThis) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\Resolve\SymbolTableBuilder.cs:line 104 at JetBrains.ReSharper.Psi.Resolve.SymbolTableBuilder.GetTable(ITreeNode element, SymbolTableMode mode) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\Resolve\SymbolTableBuilder.cs:line 24 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.GetSymbolTableByReference(IQualifiableReference reference, SymbolTableMode mode) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\ResolveUtil.cs:line 514 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceNameStub.ReferenceNameReference.GetReferenceSymbolTable(Boolean useReferenceName) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\ReferenceName.cs:line 295 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceNameStub.ReferenceNameReference.ResolveWithoutCache() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\ReferenceName.cs:line 275 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.<.cctor>b__0(TreeReferenceBase`1 reference) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\TreeReferenceBase.cs:line 61 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.ResolveWithCache[T](T reference, Func`2 resolveWithoutCache) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\ResolveUtil.cs:line 496 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.TreeReferenceBase`1.Resolve() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\TreeReferenceBase.cs:line 65 at JetBrains.ReSharper.Psi.CSharp.CSharpTypeFactory.CreateDeclaredType(IReferenceName referenceName) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Types\CSharpTypeFactory.cs:line 89 at JetBrains.ReSharper.Psi.CSharp.CSharpTypeFactory.CreateType(ITypeUsage typeUsage) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Types\CSharpTypeFactory.cs:line 104 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CastExpression.GetTypeForNonconstant() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\CastExpression.cs:line 15 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CastExpression.CalculateExpressionTypeAux(IResolveContext resolveContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\CastExpression.cs:line 23 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.CalculateExpressionType(IResolveContext resolveContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\CSharpExpressionBase.cs:line 81 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.UniversalContext.ExpressionType(IManagedExpression expression) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\Managed\UniversalContext.cs:line 21 at JetBrains.ReSharper.Psi.Resolve.Managed.ManagedExtensionsDispatcher.GetExpressionType(IExpression expression, IResolveContext resolveContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\Resolve\Managed\IResolveContext.cs:line 79 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.LocalVariableDeclarationStub.GetImplicitType(IResolveContext resolveContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\LocalVariableDeclaration.cs:line 88 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.LocalVariableDeclarationBase.JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.IManagedVariableImpl.CalculateType(IResolveContext resolveContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\LocalVariableDeclarationBase.cs:line 66 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.<.cctor>b__3(IManagedVariableImpl variable, Object _, IResolveContext resolveContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 210 at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.CalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\resolve\Managed\CalculationProcess.cs:line 129 at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.UniversalCalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\resolve\Managed\UniversalCalculationProcess.cs:line 14 at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.TypeOf(IManagedVariable managedVariable) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 202 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.LocalVariableDeclarationBase.get_Type() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\LocalVariableDeclarationBase.cs:line 25 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.ArrayListToListAction.LocalVariableSuits(ITypeOwner localVariable) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\CSharp\src\ContextActions\ArrayListToListAction.cs:line 226 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.ArrayListToListAction.IsAvailable(IUserDataHolder cache) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\CSharp\src\ContextActions\ArrayListToListAction.cs:line 78 at JetBrains.ReSharper.Intentions.ContextActionTableImpl.InstantiateAvailableActions(Func`3 fDataContext, IDictionary`2 cache, IUserDataHolder dataHolder, Boolean onlyPopup) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\ContextActionTableImpl.cs:line 144
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpMethod is not valid. Cached type member is valid”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “Pool Thread #2”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.Intentions.ContextActionTableImpl.InstantiateAvailableActions(Func`3 fDataContext, IDictionary`2 cache, IUserDataHolder dataHolder, Boolean onlyPopup) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\ContextActionTableImpl.cs:line 154 at JetBrains.ReSharper.Intentions.Bulbs.BulbItemsBuilder.<>c__DisplayClass7.<BuildAvailableActionsList>b__2() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbItemsBuilder.cs:line 119 at JetBrains.ReSharper.Intentions.Bulbs.BulbItemsBuilder.BackgroundContextActionBuilder.Work() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbItemsBuilder.cs:line 377 at JetBrains.Application.InterruptableReadActivity.DoWork() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 208 at JetBrains.Application.InterruptableReadActivity.WorkerThreadProc() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 93 at JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Threading\ThreadManager.cs:line 152 at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Logger\Logger.cs:line 243 at JetBrains.Threading.ThreadManager.PooledThread.<.ctor>b__1() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Threading\ThreadManager.cs:line 116 at System.Threading.ThreadHelper.ThreadStart_Context(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 System.Threading.ThreadHelper.ThreadStart()