Resharper 5.0 [build 1633][vs.net2008] - Method not found: 'Void JetBrains.ReSharper.Psi.Search.FindResultConsumer..ctor(System.Object, IntPtr)'.

Hi there,

In recent builds in particular the last 10 I have always been encountering the following annoying issue:

Method not found: 'Void JetBrains.ReSharper.Psi.Search.FindResultConsumer..ctor(System.Object, IntPtr)'.

--- EXCEPTION #1/2 [MissingMethodException]
Message = “Method not found: 'Void JetBrains.ReSharper.Psi.Search.FindResultConsumer..ctor(System.Object, IntPtr)'.”
ExceptionPath = Root.InnerException
ClassName = System.MissingMethodException
HResult = COR_E_MISSINGMETHOD=80131513
Source = Machine.Specifications.ReSharperRunner.5.0
StackTraceString = “
  at Machine.Specifications.ReSharperRunner.PsiExtensions.IsContextBaseClass(IDeclaredElement element)
     at Machine.Specifications.ReSharperRunner.MSpecElementNaming.IsContextBase(IDeclaredElement declaredElement) in d:\BuildAgent-01\work\340c36596c29db8\Source\Machine.Specifications.ReSharperRunner.4.5\MSpecElementNaming.cs:line 61
     at JetBrains.ReSharper.Psi.Naming.Elements.ElementKindOfElementType.IsApplicable(IDeclaredElement element) in c:\Agent\work\938ba5148592441f\src\Psi\src\Naming\Elements\ElementKindOfElementType.cs:line 23
     at JetBrains.ReSharper.Psi.Naming.Elements.NamedElementsManager.<GetElementKind>d__0.MoveNext() in c:\Agent\work\938ba5148592441f\src\Psi\src\Naming\Elements\NamedElementsManager.cs:line 36
     at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) in c:\Agent\work\938ba5148592441f\Platform\src\Util\src\System.Core\Enumerable.ToCollection.cs:line 13
     at JetBrains.ReSharper.Psi.Naming.NamingLanguageServiceBase.GetNamedElementDescriptor(IDeclaredElement element) in c:\Agent\work\938ba5148592441f\src\Psi\src\Naming\Impl\NamingLanguageServiceBase.cs:line 51
     at JetBrains.ReSharper.Psi.Naming.Settings.NamingPolicyProviderBase.GetPolicy(IDeclaredElement declaredElement) in c:\Agent\work\938ba5148592441f\src\Psi\src\Naming\Settings\NamingRulesProviderBase.cs:line 117
     at JetBrains.ReSharper.Psi.Naming.NamingSettingsManager.GetPolicy(IDeclaredElement declaredElement, PsiLanguageType language) in c:\Agent\work\938ba5148592441f\src\Psi\src\Naming\NamingSettingsManager.cs:line 56
     at JetBrains.ReSharper.Psi.CSharp.Naming2.CSharpNamingConsistencyChecker.Check(IDeclaration declaration, Boolean& isFinalResult, NamingConsistencyCheckResult& result) in c:\Agent\work\938ba5148592441f\src\Psi.CSharp\src\Naming2\CSharpNamingConsistencyChecker.cs:line 35
     at JetBrains.ReSharper.Psi.Naming.NamingConsistencyChecker.Check(IDeclaration declaration) in c:\Agent\work\938ba5148592441f\src\Psi\src\Naming\Impl\NamingConsistencyChecker.cs:line 30
     at JetBrains.ReSharper.Daemon.CSharp.Stages.NamingConsistencyCheckProcess.Check(IDeclaration declaration, IHighlightingConsumer consumer) in c:\Agent\work\938ba5148592441f\src\Daemon.CSharp\src\Stages\NamingConsistencyCheckStage.cs:line 131
     at JetBrains.ReSharper.Daemon.CSharp.Stages.NamingConsistencyCheckProcess.VisitElement(IElement element, IHighlightingConsumer consumer) in c:\Agent\work\938ba5148592441f\src\Daemon.CSharp\src\Stages\NamingConsistencyCheckStage.cs:line 124
     at JetBrains.ReSharper.Psi.CSharp.Tree.ElementVisitor`2.VisitRegularParameterDeclaration(IRegularParameterDeclaration regularParameterDeclarationParam, TContext context) in c:\Agent\work\938ba5148592441f\src\Gen\Psi\CSharp\ElementVisitor`2.cs:line 317
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.RegularParameterDeclarationStub.Accept[TContext,TReturn](ElementVisitor`2 visitor, TContext context) in c:\Agent\work\938ba5148592441f\src\Gen\Psi\CSharp\Impl\RegularParameterDeclarationStub.cs:line 26
     at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpDaemonStageProcessBase.ProcessAfterInterior(IElement element, IHighlightingConsumer consumer) in c:\Agent\work\938ba5148592441f\src\Daemon.CSharp\src\Stages\CSharpDaemonStageBase.cs:line 189
     at JetBrains.ReSharper.Daemon.CSharp.Stages.NamingConsistencyCheckProcess.ProcessAfterInterior(IElement element, IHighlightingConsumer consumer) in c:\Agent\work\938ba5148592441f\src\Daemon.CSharp\src\Stages\NamingConsistencyCheckStage.cs:line 89
     at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](IElement root, IRecursiveElementProcessor`1 processor, TContext context) in c:\Agent\work\938ba5148592441f\src\Psi\src\IRecursiveElementProcessor.cs:line 108
     at JetBrains.ReSharper.Daemon.CSharp.Stages.NamingConsistencyCheckProcess.<Execute>b__0(ICSharpFile file, IHighlightingConsumer consumer) in c:\Agent\work\938ba5148592441f\src\Daemon.CSharp\src\Stages\NamingConsistencyCheckStage.cs:line 68
     at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter) in c:\Agent\work\938ba5148592441f\src\Daemon.CSharp\src\Stages\CSharpDaemonStageBase.cs:line 134
     at JetBrains.ReSharper.Daemon.CSharp.Stages.NamingConsistencyCheckProcess.Execute(Action`1 commiter) in c:\Agent\work\938ba5148592441f\src\Daemon.CSharp\src\Stages\NamingConsistencyCheckStage.cs:line 68
     at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.DoHighlighting(DaemonProcessKind processKind, Action`1 commiter) in c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\DaemonProcessBase.cs:line 171


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Method not found: 'Void JetBrains.ReSharper.Psi.Search.FindResultConsumer..ctor(System.Object, IntPtr)'.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.DoHighlighting(DaemonProcessKind processKind, Action`1 commiter) in c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\DaemonProcessBase.cs:line 191
     at JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.DoHighlighting(Boolean globalAnalysisStages) in c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\VisibleDocumentDaemonProcess.cs:line 238
     at JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.<>c__DisplayClass6.<EnqueueHighlightingJob>b__4() in c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\VisibleDocumentDaemonProcess.cs:line 209
     at JetBrains.ReSharper.Daemon.Impl.DaemonThreadImpl.DaemonThreadProc() in c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\DaemonThreadImpl.cs:line 126
     at JetBrains.Util.Logger.Catch(Action action) in c:\Agent\work\938ba5148592441f\Platform\src\Util\src\Logger\Logger.cs:line 245
     at JetBrains.ReSharper.Daemon.Impl.DaemonThreadImpl.<.ctor>b__1() in c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\DaemonThreadImpl.cs:line 33
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()


Thanks for your efforts

Dotnetshadow

2 comments
Comment actions Permalink

This is caused by outdated MSpec plugin (see  Machine.Specifications at top
of stack). Upgrade it to most recent builds. Sorry for inconvenience.


Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> Hi there,
IR>
IR> In recent builds in particular the last 10 I have always been
IR> encountering the following annoying issue:
IR>
IR> Method not found: 'Void
IR> JetBrains.ReSharper.Psi.Search.FindResultConsumer..ctor(System.Objec
IR> t, IntPtr)'.
IR>
IR> --- EXCEPTION #1/2
IR> Message = “Method not found: 'Void
IR> JetBrains.ReSharper.Psi.Search.FindResultConsumer..ctor(System.Objec
IR> t, IntPtr)'.”
IR> ExceptionPath = Root.InnerException
IR> ClassName = System.MissingMethodException
IR> HResult = COR_E_MISSINGMETHOD=80131513
IR> Source = Machine.Specifications.ReSharperRunner.5.0
IR> StackTraceString = “
IR> at
IR> Machine.Specifications.ReSharperRunner.PsiExtensions.IsContextBaseCl
IR> ass(IDeclaredElement element)
IR> at
IR> Machine.Specifications.ReSharperRunner.MSpecElementNaming.IsContextB
IR> ase(IDeclaredElement declaredElement) in
IR> d:\BuildAgent-01\work\340c36596c29db8\Source\Machine.Specifications.
IR> ReSharperRunner.4.5\MSpecElementNaming.cs:line 61
IR> at
IR> JetBrains.ReSharper.Psi.Naming.Elements.ElementKindOfElementType.IsA
IR> pplicable(IDeclaredElement element) in
IR> c:\Agent\work\938ba5148592441f\src\Psi\src\Naming\Elements\ElementKi
IR> ndOfElementType.cs:line 23
IR> at
IR> JetBrains.ReSharper.Psi.Naming.Elements.NamedElementsManager. --- EXCEPTION #2/2
IR> Message = “Method not found: 'Void
IR> JetBrains.ReSharper.Psi.Search.FindResultConsumer..ctor(System.Objec
IR> t, IntPtr)'.”
IR> ExceptionPath = Root
IR> ClassName = JetBrains.Util.LoggerException
IR> InnerException = “Exception #1 at Root.InnerException”
IR> HResult = COR_E_APPLICATION=80131600
IR> StackTraceString = “
IR> at
IR> JetBrains.ReSharper.Daemon.Impl.DaemonProcessBase.DoHighlighting(Dae
IR> monProcessKind processKind, Action`1 commiter) in
IR> c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\DaemonProcessBase
IR> .cs:line 191
IR> at
IR> JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess.DoHighl
IR> ighting(Boolean globalAnalysisStages) in
IR> c:\Agent\work\938ba5148592441f\src\Daemon\src\Impl\VisibleDocumentDa
IR> emonProcess.cs:line 238
IR> at
IR> JetBrains.ReSharper.Daemon.Impl.VisibleDocumentDaemonProcess. http://www.jetbrains.net/devnet/message/5258095#5258095


0
Comment actions Permalink

Thank you so much excellent work keep it up

0

Please sign in to leave a comment.