Reporter | Alessandro Manfredi (alle_82) |
---|---|
Created | Dec 14, 2011 5:25:19 PM |
Updated | Dec 14, 2011 9:52:12 PM |
Priority | Show-stopper |
Type | Exception |
Fix versions | 6.1 |
State | Submitted |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
ReSharper 6.1 EAP Version=6.1.12.133, Built=2011-11-23T21:54:24, Configuration=“Csharp PublicMode VS1000”
Cannot perform this action, most likely because of errors in the source code
--- EXCEPTION #1/2 [FailPsiTransactionException]
Message = “Cannot perform this action, most likely because of errors in the source code”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.Psi.FailPsiTransactionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Cannot perform this action, most likely because of errors in the source code”
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 Action(VsTextControl.Exec).Execute(Action )
”
Cannot perform this action, most likely because of errors in the source code
--- EXCEPTION #1/2 [FailPsiTransactionException]
Message = “Cannot perform this action, most likely because of errors in the source code”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.Psi.FailPsiTransactionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
at JetBrains.ReSharper.Psi.PsiManagerExtensions.FailActiveTransactionViaException(PsiManager manager, String errorDescription, String messageForUser) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\PsiManagerExtensions.cs:line 129 at JetBrains.ReSharper.Psi.Razor.Impl.CustomHandlers.RazorPsiServicesBase.GetOriginalNodeAndType(IStatement codeBehindStatement, Boolean first, TreeTextRange`1 generatedTreeRange) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Razor\src\Impl\CustomHandlers\RazorPsiServicesBase.cs:line 292 at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.CustomHandlers.RazorCSharpPsiServices.GetOriginalNodeAndTypeInternal(IBlock block, ITreeNode codeBehindStatement, Boolean first, TreeTextRange`1 generatedTreeRange) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Razor.CSharp\src\Impl\CustomHandlers\RazorCSharpPsiServices.cs:line 441 at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.CustomHandlers.RazorCSharpPsiServices.GetOriginalNodeAndType(IBlock block, ITreeNode codeBehindStatement, Boolean first, Predicate`1 checker) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Razor.CSharp\src\Impl\CustomHandlers\RazorCSharpPsiServices.cs:line 405 at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.CustomHandlers.RazorCSharpPsiServices.GetOriginalNodeAndTypeWithChecker(ITreeNode codeBehindStatement, Boolean first, Predicate`1 checker) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Razor.CSharp\src\Impl\CustomHandlers\RazorCSharpPsiServices.cs:line 339 at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.CustomHandlers.RazorCSharpPsiServices.GetOriginalNodeAndType(ITreeNode codeBehindStatement, Boolean first) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Razor.CSharp\src\Impl\CustomHandlers\RazorCSharpPsiServices.cs:line 329 at JetBrains.ReSharper.Psi.Services.Razor.CSharp.RazorCSharpCustomIndentHandler.IndentHandler(ITreeNode node, CustomIndentType indentType, CSharpIndentHelper helper, CSharpCodeFormattingSettings settings) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Services.Razor.CSharp\src\RazorCSharpCustomIndentHandler.cs:line 117 at JetBrains.ReSharper.Psi.Services.Razor.CSharp.RazorCSharpCustomIndentHandler.Indent(ITreeNode node, CustomIndentType indentType, CSharpCodeFormattingSettings settings) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Services.Razor.CSharp\src\RazorCSharpCustomIndentHandler.cs:line 79 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.<>c__DisplayClass3.<GetCustomLineIndent>b__0(ICustomIndentHandler handler) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 59 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:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 56 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.CalcIndent(FormattingStageContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 71 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpIndentingStage.DoIndent(FormattingRange formattingRange, CSharpCodeFormattingContext context, CSharpCodeFormattingSettings settings, Boolean dontStickComments, IProgressIndicator progress) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\Indenting\CSharpIndentingStage.cs:line 40 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.CSharpFormatterImplHelper.DoIndent(CSharpCodeFormattingContext context, CSharpCodeFormattingSettings settings, Boolean dontStickComments, IProgressIndicator progress) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\CSharpFormatterImplHelper.cs:line 231 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CSharpFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 188 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 109 at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.Format(IFile file, TreeTextRange range, CodeFormatProfile profile, OuterSpaceFormatType formatSpacesBefore, OuterSpaceFormatType formatSpacesAfter, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\impl\CodeStyle\FormatterImplHelper.cs:line 858 at JetBrains.ReSharper.Psi.Impl.CodeStyle.CodeFormatterBase.Format(IFile file, TreeTextRange range, CodeFormatProfile profile, OuterSpaceFormatType formatSpacesBefore, OuterSpaceFormatType formatSpacesAfter, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\impl\CodeStyle\CodeFormatterBase.cs:line 107 at JetBrains.ReSharper.Psi.Razor.Impl.CodeStyle.RazorCodeFormatter.FormatMixedRangesInsideOriginal(IFile originalFile, IFile generatedFile, ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Razor\src\Impl\CodeStyle\RazorCodeFormatter.cs:line 77 at JetBrains.ReSharper.Psi.Razor.Impl.CodeStyle.RazorCodeFormatter.TryCustomFormat(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Razor\src\Impl\CodeStyle\RazorCodeFormatter.cs:line 210 at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.FormatInternal(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 123 at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 81 at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.Format(IFile file, TreeTextRange range, CodeFormatProfile profile, OuterSpaceFormatType formatSpacesBefore, OuterSpaceFormatType formatSpacesAfter, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\impl\CodeStyle\FormatterImplHelper.cs:line 858 at JetBrains.ReSharper.Psi.Impl.CodeStyle.CodeFormatterBase.Format(IFile file, TreeTextRange range, CodeFormatProfile profile, OuterSpaceFormatType formatSpacesBefore, OuterSpaceFormatType formatSpacesAfter, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\impl\CodeStyle\CodeFormatterBase.cs:line 107 at JetBrains.ReSharper.Psi.CodeStyle.CodeFormatterHelper.FormatFileRange(IFile file, TreeTextRange range, CodeFormatProfile profile, IProgressIndicator progressIndicator) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\CodeStyle\CodeFormatterHelper.cs:line 59 at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.WebTypingAssist`3.FormatAfterEnter(ITextControl textControl) in c:\BuildAgent\work\f4954dbf762b12ec\src\Feature.Services.Html\src\TypingAssist\WebTypingAssist.cs:line 609 at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.WebTypingAssist`3.<>c__DisplayClass2.<HandleClosingBracket>b__0() in c:\BuildAgent\work\f4954dbf762b12ec\src\Feature.Services.Html\src\TypingAssist\WebTypingAssist.cs:line 181 at JetBrains.TextControl.Impl.TextControlTypingHandlers.<>c__DisplayClass7.<Type>b__5(Lifetime lifetime) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 117 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20 at JetBrains.TextControl.Impl.TextControlTypingHandlers.Type(ITextControl textControl, Char c) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 104 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass13.<TryDelegateToReSharper_Typing>b__11() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 310 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 354
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Cannot perform this action, most likely because of errors in the source code”
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.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 358 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass13.<TryDelegateToReSharper_Typing>b__12() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 314 at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\DocumentModel\src\impl\DocumentBase.cs:line 94 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_Typing(IntPtr pvaIn, Action`1 FExecDelegateBackToVs) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 313 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 261 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass1a.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__18() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 409
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 265 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 416 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\TextControl\VsTextControlOleCommandTarget.cs:line 398 at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<DispatchTextInputEvents>b__0(KeyProcessor p, TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1e`1.<Dispatch>b__1a() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch[T](Action`2 action, T args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass18.<MakeHandler>b__17(Object sender, TextCompositionEventArgs args) at System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(TextComposition composition) at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.TextCompositionManager.UnsafeStartComposition(TextComposition composition) at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)