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

RSRP-272379: An exception has occurred during action 'TextControl.Enter' execution. typeMemberBlock != null, member type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.M

$
0
0
Reporter Sergey Shkredov (serjic.shkredov) Sergey Shkredov (serjic.shkredov)
Created Jun 14, 2011 8:49:25 PM
Updated Jan 18, 2012 2:29:58 PM
Priority Normal
Type Exception
Fix versions Next Dev11
State Open
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 6.0 EAP Version=6.0.0.0, Built=2011-06-14T09:24:55, Configuration=“Csharp InternalMode Vbnet VS1000”
An exception has occurred during action 'TextControl.Enter' execution. typeMemberBlock != null, member type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration, name Execute

--- EXCEPTION #1/2 [AssertionException]
Message = “typeMemberBlock != null, member type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration, name Execute”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
  at JetBrains.Util.Assertion.Fail(String message) in c:\work\ReSharper\Main\Platform\src\Util\src\Assertion.cs:line 39
     at JetBrains.Util.Assertion.Assert(Boolean condition, String message, Object[] args) in c:\work\ReSharper\Main\Platform\src\Util\src\Assertion.cs:line 18
     at JetBrains.ReSharper.Psi.Razor.Impl.CustomHandlers.RazorPsiServicesBase.GetOriginalNodeForTypeMember(ITreeNode typeMember, Boolean first) in c:\work\ReSharper\Main\src\Psi.Razor\src\Impl\CustomHandlers\RazorPsiServicesBase.cs:line 366
     at JetBrains.ReSharper.Psi.Services.Razor.CSharp.RazorCSharpCustomIndentHandler.IndentHandler(ITreeNode node, CustomIndentType indentType, CSharpIndentHelper helper) in c:\work\ReSharper\Main\src\Psi.Services.Razor.CSharp\src\RazorCSharpCustomIndentHandler.cs:line 238
     at JetBrains.ReSharper.Psi.Services.Razor.CSharp.RazorCSharpCustomIndentHandler.CSharpHandler(ITreeNode node, CustomIndentType indentType, GlobalFormatSettings globalSettings, CSharpFormatSettings settings) in c:\work\ReSharper\Main\src\Psi.Services.Razor.CSharp\src\RazorCSharpCustomIndentHandler.cs:line 91
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.<>c__DisplayClassa.<GetCustomLineIndent>b__7(CustomIndentHandler handler) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 67
     at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.GetCustomLineIndent(ITreeNode node, CustomIndentType indentType) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 64
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.CustomizableIndentCacheBase.GetCustomIndent(ITreeNode node, CustomIndentType customIndentType) in c:\work\ReSharper\Main\src\Psi\src\impl\CodeStyle\CustomizableIndentCacheBase.cs:line 22
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.StandardIndentCache`1.CalcLineIndent(ITreeNode node) in c:\work\ReSharper\Main\src\Psi\src\impl\CodeStyle\StandardIndentCache.cs:line 31
     at JetBrains.Util.ElementsCache`2.Get(TKey key) in c:\work\ReSharper\Main\Platform\src\Util\src\ElementsCache.cs:line 66
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentCacheBase.GetLineIndent(ITreeNode node) in c:\work\ReSharper\Main\src\Psi\src\impl\CodeStyle\IndentCacheBase.cs:line 32
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.GetLineIndent(ITreeNode node, IndentCacheBase indentCache) in c:\work\ReSharper\Main\src\Psi\src\impl\CodeStyle\FormatterImplHelper.cs:line 392
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.IndentVisitor.GetInBlockIndent(BraceFormatStyle style, FormattingStageContext context) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.IndentVisitor.cs:line 545
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.IndentVisitor.VisitBlock(IBlock block, FormattingStageContext context) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.IndentVisitor.cs:line 357
     at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.Block.Accept[TContext,TReturn](TreeNodeVisitor`2 visitor, TContext context) in c:\work\ReSharper\Main\src\Gen\Psi\CSharp\Impl\Block.cs:line 25
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.CalcIndent(FormattingStageContext context) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 109
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.<>c__DisplayClass5.<DoIndent>b__1(FormattingRange range) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 50
     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
     at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.ForeachResult[T](IEnumerable`1 items, IProgressIndicator progress, Action`1 action) in c:\work\ReSharper\Main\src\Psi\src\impl\CodeStyle\FormatterImplHelper.cs:line 1020
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.DoIndent(ITreeNode firstNode, ITreeNode lastNode, CSharpCodeFormattingContext context, CSharpFormatSettings settings, Boolean dontStickComments, GlobalFormatSettings globalSettings, IProgressIndicator progress) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 55
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpFormatterImplHelper.DoIndent(CSharpCodeFormattingContext context, CSharpFormatSettings settings, Boolean dontStickComments, GlobalFormatSettings globalSettings, IProgressIndicator progress) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\CSharpFormatterImplHelper.cs:line 233
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpFormatterImplHelper.DoFormatAndIndent(CSharpCodeFormattingContext context, CSharpFormatSettings settings, CSharpFormatProfile profile, GlobalFormatSettings globalSettings, IProgressIndicator progress) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\CSharpFormatterImplHelper.cs:line 255
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CSharpFormatSettings settings, CSharpFormatProfile profile, IProgressIndicator progressIndicator) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 157
     at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpCodeFormatter.Format(ITreeNode root, CSharpFormatSettings settings, CSharpFormatProfile profile, IProgressIndicator progressIndicator) in c:\work\ReSharper\Main\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 97
     at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.DoHandleEnterAfterLBracePressed(ITextControl textControl) in c:\work\ReSharper\Main\src\Feature.Services.CSharp\src\TypingAssist\CSharpTypingAssistBase.cs:line 1275
     at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.HandleEnterPressed(ITextControl textControl, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.CSharp\src\TypingAssist\CSharpTypingAssistBase.cs:line 1085
     at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.ActionHandler(ITextControl textControl, Keys key, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.CSharp\src\TypingAssist\CSharpTypingAssistBase.cs:line 163
     at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.TypingAssistActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.CSharp\src\TypingAssist\CSharpTypingAssistBase.cs:line 1670
     at JetBrains.ActionManagement.NextActionHandler.CallExecute() in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 42
     at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.ActionHandler(ITextControl textControl, Keys key, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.CSharp\src\TypingAssist\CSharpTypingAssistBase.cs:line 145
     at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.TypingAssistActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.CSharp\src\TypingAssist\CSharpTypingAssistBase.cs:line 1670
     at JetBrains.ActionManagement.NextActionHandler.CallExecute() in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 42
     at JetBrains.ReSharper.Feature.Services.VB.TypingAssist.VBTypingAssistBase.ActionHandler(ITextControl textControl, Keys key, DelegateExecute nextExecute) in C:\work\ReSharper\Main\src\Feature.Services.VB\src\TypingAssist\VBTypingAssistBase.vb:line 89
     at JetBrains.ReSharper.Feature.Services.VB.TypingAssist.VBTypingAssistBase.TypingAssistActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in C:\work\ReSharper\Main\src\Feature.Services.VB\src\TypingAssist\VBTypingAssistBase.vb:line 628
     at JetBrains.ActionManagement.NextActionHandler.CallExecute() in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 42
     at JetBrains.ReSharper.Feature.Services.JavaScript.TypingAssist.JavaScriptTypingAssistBase.ActionHandler(ITextControl textControl, Keys key, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.JavaScript\src\TypingAssist\JavaScriptTypingAssistBase.cs:line 121
     at JetBrains.ReSharper.Feature.Services.JavaScript.TypingAssist.JavaScriptTypingAssistBase.TypingAssistActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.JavaScript\src\TypingAssist\JavaScriptTypingAssistBase.cs:line 1121
     at JetBrains.ActionManagement.NextActionHandler.CallExecute() in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 42
     at JetBrains.ReSharper.Feature.Services.Css.TypingAssist.CssTypingAssistBase.TypingAssistActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\work\ReSharper\Main\src\Feature.Services.Css\src\TypingAssist\CssTypingAssistBase.cs:line 690
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “An exception has occurred during action 'TextControl.Enter' execution. typeMemberBlock != null, member type JetBrains.ReSharper.Psi.CSharp.Impl.Tree.MethodDeclaration, name Execute”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cshtml
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.Util.Logger.LogException(String comment, Exception ex) in c:\work\ReSharper\Main\Platform\src\Util\src\Logger\Logger.cs:line 621
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 41
     at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 182
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\work\ReSharper\Main\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 1397
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass3.<ExecuteActionUnsafe>b__2(Lifetime lifetime) in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 146
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\work\ReSharper\Main\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 26
     at JetBrains.ActionManagement.ActionManager.ExecuteActionUnsafe(IExecutableAction action, IDataContext dataContext) in c:\work\ReSharper\Main\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 146
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClassf.<TryDelegateToReSharper_NonTyping>b__e() in c:\work\ReSharper\Main\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 290
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\work\ReSharper\Main\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 361
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in c:\work\ReSharper\Main\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 290
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\work\ReSharper\Main\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 269
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass1a.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__18() in c:\work\ReSharper\Main\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 416
at Action(VsTextControl.Exec).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\work\ReSharper\Main\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 261
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\work\ReSharper\Main\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 411
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\work\ReSharper\Main\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 405
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>