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

RSRP-288686: The condition (end

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Mar 1, 2012 7:16:45 PM
Updated Mar 1, 2012 7:16:45 PM
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 Branch Build “default” Version=7.0.0.247, Built=2012-03-01T12:24:54, Configuration=“Csharp PublicMode Vbnet VS1000”
The condition (end <= myOriginalDocumentLength) is false.

--- EXCEPTION #1/2 [AssertionException]
Message = “The condition (end <= myOriginalDocumentLength) is false.”
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.Assert(Boolean condition, String message, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Assertion.cs:line 17
     at JetBrains.ReSharper.Psi.Parsing.DocumentUpdatesAccumulator.DocumentChanged(Int32 start, Int32 end, Int32 currentDocumentLength) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\parsing\DocumentUpdatesAccumulator.cs:line 70
     at JetBrains.ReSharper.Psi.Parsing.DocumentUpdatesAccumulator.DocumentChanged(DocumentChange args) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\parsing\DocumentUpdatesAccumulator.cs:line 55
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiFilesCache.OnDocumentCopyChanged(IPsiSourceFile sourceFile, DocumentChange args) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiFilesCache.cs:line 353
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.OnDocumentCopyChanged(ProjectFileDocumentCopyChange args) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 492
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.Execute(IChangeMap map) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 921
     at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__b(IChangeProvider dependentChangeProvider) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 261


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “The condition (end <= myOriginalDocumentLength) is false.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
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.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__b(IChangeProvider dependentChangeProvider) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 265
     at JetBrains.Util.CollectionUtil.ForEach[T](IEnumerable`1 collection, Action`1 action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Collections\CollectionUtil.cs:line 1555
     at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__a(IProgressIndicator pro) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 253
     at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Progress\SimpleTaskExecutor.cs:line 66
     at JetBrains.Application.Changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 277
     at JetBrains.Application.Changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 218
     at JetBrains.DocumentModel.Impl.DocumentChangeManager.FireDocumentCopyChange(DocumentChange args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\DocumentChangeManager.cs:line 27
     at JetBrains.DocumentModel.Transactions.DocumentChangeInfo.PushDocumentChange(DocumentChange documentChange) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\Transactions\DocumentChangeInfo.cs:line 51
     at JetBrains.DocumentModel.Transactions.DocumentTransaction.PushDocumentChange(DocumentChange documentChange) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\Transactions\DocumentTransaction.cs:line 382
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.ChangeDocument(DocumentChange documentChange, Int32 timestamp) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 105
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.DeleteText(TextRange fromRange, TextModificationSide modificationSide) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 113
     at JetBrains.DocumentModel.Impl.DocumentBase.DeleteText(TextRange fromRange) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\DocumentBase.cs:line 134
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.LiveTemplateHotspotSessionController.GetSelectionText(ITextControl textControl, IDocument document, Int32& startOffset) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\LiveTemplateHotspotSessionController.cs:line 251
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.LiveTemplateHotspotSessionController.Init(String actionName, ITextControl textControl, Int32& startOffset, ISolution solution) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\LiveTemplateHotspotSessionController.cs:line 186
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.LiveTemplates.LiveTemplatesManager.CreateHotspotSessionFromTemplate(String actionName, Template template, ISolution solution, ITextControl textControl, Action`1 init) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\LiveTemplates\LiveTemplates\LiveTemplatesManager.cs:line 137
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.LiveTemplates.LiveTemplatesManager.CreateHotspotSessionFromTemplate(Template template, ISolution solution, ITextControl textControl, Action`1 init) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\LiveTemplates\LiveTemplates\LiveTemplatesManager.cs:line 79
     at JetBrains.ReSharper.LiveTemplates.FileTemplates.FileTemplatesManagerImpl.CreateFileFromTemplate(String fileNameNoExtension, IProjectFolder targetFolder, Template template, Action`1 init) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\LiveTemplates\_Core\src\FileTemplates\FileTemplatesManagerImpl.cs:line 101
     at JetBrains.ReSharper.LiveTemplates.FileTemplates.GenerateFileActionWorkflow.Execute(IDataContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\LiveTemplates\_Core\src\FileTemplates\FileTemplatesGenerateAction.cs:line 127
     at JetBrains.ReSharper.Feature.Services.Generate.Actions.GenerateActionBase`1.Execute(IDataContext context, IGenerateActionWorkflow workflow) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Generate\Actions\GenerateActionBase.cs:line 29
     at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.<>c__DisplayClass10.<>c__DisplayClass17.<ExecuteGroup>b__e(Object args) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\ActionsMenu\ExtensibleAction.cs:line 192
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass19.<>c__DisplayClass1d.<ShowCore>b__13(JetPopupMenuItem item) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 458
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 473
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 473
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuDoc.cs:line 281
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1581
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 811
     at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
     at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
     at System.Windows.Forms.Control.WmKeyChar(Message& m)
     at System.Windows.Forms.Control.WndProc(Message& m)
     at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
     at System.Windows.Forms.Form.WndProc(Message& m)
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.WndProc(Message& m) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 1008
     at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
     at JetBrains.Threading.JetDispatcher.InternalPumpMessagesOnce() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 524
     at JetBrains.Threading.JetDispatcher.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 345
     at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass23.<ShowModal>b__21(LifetimeDefinition definition, Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 560
     at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 116
     at JetBrains.UI.PopupMenu.JetPopupMenu.ShowModal(ShowWhen when, LifetimeDefinition lifetimeDefitionOptional) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 562
     at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.<>c__DisplayClass10.<ExecuteGroup>b__8(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\ActionsMenu\ExtensibleAction.cs:line 194
     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.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.ExecuteGroup(IDataContext context, IEnumerable`1 workflows) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\ActionsMenu\ExtensibleAction.cs:line 196
     at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.Execute(IDataContext dataContext, DelegateExecute nextExecute) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\ActionsMenu\ExtensibleAction.cs:line 64
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
     at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 184
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1375
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass6.<ExecuteActionIfAvailable>b__5(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 162
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.ActionManagement.ActionManager.ExecuteActionIfAvailable(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 154
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec_Product(String actionid, Boolean isAuxiliaryCommand, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 860
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass22.<OleCommandTargetExec>b__1f() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 332
     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.ActionManagement.VsActionManager.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, IntPtr vIn, IntPtr vOut, VsCommandHandlerStage stage) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 328
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__59(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1421
     at JetBrains.VsIntegration.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\Package\VsPackageSdkStub.cs:line 223

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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