Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-282053: DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpProperty is not valid. Asking declaration of invalid declared element

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Nov 20, 2011 3:10:12 PM
Updated Apr 4, 2012 7:02:12 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 6.1 EAP Version=6.1.8.21, Built=2011-11-20T00:34:02, Configuration=“Csharp PublicMode VS1000”
DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpProperty is not valid. Asking declaration of invalid declared element

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpProperty is not valid. Asking declaration of invalid declared element”
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\f4954dbf762b12ec\src\Psi\src\DeclaredElements\IDeclaredElement.cs:line 80
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.CachedTypeMemberBase.GetDeclaration() in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Caches2\CachedTypeMemberBase.cs:line 58
     at JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpDeclaredElement`1.GetDeclaration() in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\DeclaredElement\CSharpDeclaredElement.cs:line 19
     at JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpDeclaredElement`1.get_ShortName() in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\DeclaredElement\CSharpDeclaredElement.cs:line 31
     at JetBrains.ReSharper.Psi.Impl.Resolve.DeclaredElementsSymbolTable`1.GetName(T element) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\impl\resolve\DeclaredElementsSymbolTable.cs:line 117
     at JetBrains.ReSharper.Psi.Impl.Resolve.DeclaredElementsSymbolTableBase`1.GetSymbolInfos(String name) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\impl\resolve\DeclaredElementsSymbolTable.cs:line 58
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.ResolveUtil.TypeMembersSymbolTableAdapter.GetSymbolInfos(String name) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\ResolveUtil.cs:line 173
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.MergedSymbolTable.GetSymbolInfos(String name) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\MergedSymbolTable.cs:line 63
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionReferenceBase`1.MyCachingSymbolTable.GetSymbolInfos(String name) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\Tree\ReferenceExpressionReferenceBase.cs:line 413
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.MultipleFilterNamedSymbolTable.GetSymbolInfos(String name) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\MultipleFilterNamedSymbolTable.cs:line 43
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.MultipleFilterNamedSymbolTable.GetSymbolInfosConstitutingResolveResult(String name, IResolveInfo& resolveInfo) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\MultipleFilterNamedSymbolTable.cs:line 130
     at JetBrains.ReSharper.Psi.CSharp.Impl.Resolve.CSharpResolveUtil.GetCSharpResolveResult(ISymbolTable symbolTable, String name) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\Resolve\CSharpResolveUtil.cs:line 437
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionReferenceBase`1.PreResolve(IResolveContext resolveContext, ISymbolTable originalSymbolTable) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\Tree\ReferenceExpressionReferenceBase.cs:line 134
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionReference.PreResolve(IResolveContext resolveContext, ISymbolTable symbolTable) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\Tree\ReferenceExpressionReference.cs:line 73
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.<.cctor>b__5(IManagedTwoPhaseReferenceImpl reference, ISymbolTable table, IResolveContext resolveContext) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 264
     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\f4954dbf762b12ec\src\Psi\src\impl\resolve\Managed\CalculationProcess.cs:line 121
     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\f4954dbf762b12ec\src\Psi\src\impl\resolve\Managed\UniversalCalculationProcess.cs:line 14
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.PreResolve(IManagedTwoPhaseReference reference, ISymbolTable table) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 252
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ManagedTwoPhaseReferenceImplBase`1.Resolve(IResolveContext resolveContext) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\Managed\ManagedTwoPhaseReferenceImplBase.cs:line 19
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.<.cctor>b__1(IManagedReferenceImpl reference, Object _, IResolveContext resolveContext) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 170
     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\f4954dbf762b12ec\src\Psi\src\impl\resolve\Managed\CalculationProcess.cs:line 121
     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\f4954dbf762b12ec\src\Psi\src\impl\resolve\Managed\UniversalCalculationProcess.cs:line 14
     at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ResolveWithInfo(IManagedReference reference) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\ExtensionsAPI\Resolve\Managed\ResolveContext.cs:line 144
     at JetBrains.ReSharper.Psi.Resolve.Managed.ManagedExtensionsDispatcher.Resolve(IReference reference, IResolveContext resolveContext) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\Resolve\Managed\IResolveContext.cs:line 53
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.GetAccessType(IResolveContext resolveContext) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\Tree\CSharpExpressionBase.cs:line 224
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpExpressionBase.GetAccessType() in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\Tree\CSharpExpressionBase.cs:line 174
     at JetBrains.ReSharper.Daemon.CSharp.Stages.UnsafeContextCheckingStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon.CSharp\src\Stages\UnsafeContextCheckingStage.cs:line 172
     at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitCSharpExpression(ICSharpExpression cSharpExpressionParam, TContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Gen\Psi\CSharp\TreeNodeVisitor`1.cs:line 101
     at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitUnaryExpression(IUnaryExpression unaryExpressionParam, TContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Gen\Psi\CSharp\TreeNodeVisitor`1.cs:line 665
     at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitPrimaryExpression(IPrimaryExpression primaryExpressionParam, TContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Gen\Psi\CSharp\TreeNodeVisitor`1.cs:line 521
     at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitReferenceExpression(IReferenceExpression referenceExpressionParam, TContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Gen\Psi\CSharp\TreeNodeVisitor`1.cs:line 581
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpressionStub.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Gen\Psi\CSharp\Impl\ReferenceExpressionStub.cs:line 24
     at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon.CSharp\src\Stages\CSharpDaemonStageBase.cs:line 149
     at JetBrains.ReSharper.Daemon.CSharp.Stages.UnsafeContextCheckingStageProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon.CSharp\src\Stages\UnsafeContextCheckingStage.cs:line 147
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\IRecursiveElementProcessor.cs:line 119
     at JetBrains.ReSharper.Daemon.CSharp.Stages.UnsafeContextCheckingStageProcess.<Execute>b__0(ICSharpFile file, IHighlightingConsumer consumer) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon.CSharp\src\Stages\UnsafeContextCheckingStage.cs:line 78
     at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter, IContextBoundSettingsStore settingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon.CSharp\src\Stages\CSharpDaemonStageBase.cs:line 97
     at JetBrains.ReSharper.Daemon.CSharp.Stages.UnsafeContextCheckingStageProcess.Execute(Action`1 commiter) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon.CSharp\src\Stages\UnsafeContextCheckingStage.cs:line 78
     at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.<>c__DisplayClasse.<DoHighlighting>b__5(IDaemonStage stage) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon\src\Impl\DaemonProcessBase.cs:line 214


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “DeclaredElement JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpProperty is not valid. Asking declaration of invalid declared element”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “DaemonProcessFibers #2”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.<>c__DisplayClasse.<DoHighlighting>b__5(IDaemonStage stage) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon\src\Impl\DaemonProcessBase.cs:line 234
     at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.<>c__DisplayClass19.<DoHighlighting>b__7(IDaemonStage stage) in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon\src\Impl\DaemonProcessBase.cs:line 285
     at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.<>c__DisplayClass19.<>c__DisplayClass1b.<DoHighlighting>b__8() in c:\BuildAgent\work\f4954dbf762b12ec\src\Daemon\src\Impl\DaemonProcessBase.cs:line 295
     at JetBrains.Application.Threading.MultiCoreFibersPool.Fibers.<>c__DisplayClassa.<EnqueueJobImpl>b__8() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 343
     at JetBrains.Application.Threading.MultiCoreFibersPool.FiberProc() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 122
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Logger\Logger.cs:line 245
     at JetBrains.Application.Threading.MultiCoreFibersPool.<.ctor>b__1() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 87
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()

Viewing all articles
Browse latest Browse all 106942

Trending Articles