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

RSRP-292158: literalExpression != null

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 29, 2012 12:38:14 AM
Updated Mar 29, 2012 12:38:17 AM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7 Preview for Visual Studio 11 Beta EAP Version=7.0.0.325, Built=2012-03-02T18:39:56, Configuration=“Csharp PublicMode Vbnet VS1100”
literalExpression != null

--- EXCEPTION #1/2 [AssertionException]
Message = “literalExpression != null”
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, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Assertion.cs:line 25
     at JetBrains.Util.Assertion.AssertNotNull(Object condition, String message, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Assertion.cs:line 35
     at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.RazorCSharpCodeBehindGeneratedDocumentService.ChangeRange(RangesPair pair, TreeTextRange`1 originalRange, RangeTranslatorWithGeneratedRangeMap rangeTranslator, IFile generatedFile, String newText) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor.CSharp\src\Impl\RazorCSharpCodeBehindGeneratedDocumentService.cs:line 134
     at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.RazorCSharpCodeBehindGeneratedDocumentService.CustomPromoteChange(TreeTextRange originalRange, String oldText, String newText, RangeTranslatorWithGeneratedRangeMap rangeTranslator, IFile generatedFile, IPsiTransactionAction transactionAction) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor.CSharp\src\Impl\RazorCSharpCodeBehindGeneratedDocumentService.cs:line 108
     at JetBrains.ReSharper.Psi.Web.Generation.GeneratedDocumentServiceBase.ProcessChangeFromPrimaryToGenerated(TreeTextRange range, String oldText, String newText, ISecondaryRangeTranslator rangeTranslator, IFile generatedFile, IPsiTransactionAction transactionAction) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Web\src\Generation\GeneratedDocumentServiceBase.cs:line 108
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.GeneratedDocumentsManager.ProcessChangeFromPrimaryToGenerated(DocumentChange documentChange, String oldText, IPsiTransactionAction transactionAction) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\GeneratedDocumentsManager.cs:line 213
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.GeneratedDocumentsManager.ProcessDocumentChange(DocumentChange documentChange, String oldText, IPsiTransactionAction transactionAction) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\GeneratedDocumentsManager.cs:line 49
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiTransactionManager.AddAction(IPsiTransactionAction transactionAction) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiTransactionManager.cs:line 140
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.AddTransactionAction(IPsiTransactionAction action, ITreeNode elementContainingChanges, PsiChangedElementType changedElementType) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 174
     at JetBrains.ReSharper.Psi.ExtensionsAPI.LowLevelModificationUtil.ReplaceChildRange(ITreeNode first, ITreeNode last, ITreeNode[] nodes) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\LowLevelModificationUtil.cs:line 262
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.MakeIndent(ITreeNode indentNode, String indent, ICodeFormatterImpl codeFormatter) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\FormatterImplHelper.cs:line 428
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlIndentingStage.DoIndent(CodeFormattingContext context, HtmlCodeFormattingSettings settings, CodeFormatProfile profile, IProgressIndicator progress, HtmlIndentingVisitor visitor) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlIndentingStage.cs:line 36
     at JetBrains.ReSharper.Psi.Razor.Impl.CodeStyle.RazorCodeFormatter.DoIndent(CodeFormattingContext context, HtmlCodeFormattingSettings settings, CodeFormatProfile profile, IProgressIndicator progress) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor\src\Impl\CodeStyle\RazorCodeFormatter.cs:line 33
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.FormatInternal(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 173
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 80
     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\1939c01d7b25093a\Psi.Features\src\Psi\Razor\src\Impl\CodeStyle\RazorCodeFormatter.cs:line 134
     at JetBrains.ReSharper.Psi.Razor.Impl.CodeStyle.RazorCodeFormatter.TryCustomFormat(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor\src\Impl\CodeStyle\RazorCodeFormatter.cs:line 223
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.FormatInternal(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 122
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 80
     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\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\FormatterImplHelper.cs:line 853
     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\1939c01d7b25093a\Psi.Features\src\Psi\_Core\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\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\CodeStyle\CodeFormatterHelper.cs:line 58
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.WebTypingAssist`4.FormatAfterEnter(ITextControl textControl) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\Html\src\TypingAssist\WebTypingAssist.cs:line 618
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.WebTypingAssist`4.<>c__DisplayClass2.<HandleClosingBracket>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\Html\src\TypingAssist\WebTypingAssist.cs:line 122
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.<>c__DisplayClass7.<Type>b__5(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 117
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.Type(ITextControl textControl, Char c) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 104
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass12.<TryDelegateToReSharper_Typing>b__10() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 307
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 351


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “literalExpression != null”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cshtml
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.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 355
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass12.<TryDelegateToReSharper_Typing>b__11() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 311
     at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\DocumentBase.cs:line 94
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_Typing(IntPtr pvaIn, Action`1 FExecDelegateBackToVs) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 310
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 258
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass19.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__17() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 406
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
     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\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 395
     at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     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.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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