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

RSRP-293081: Cannot find placeholder element '2'

$
0
0
Reporter Arnaud Dovi (adovi) Arnaud Dovi (adovi)
Created Apr 6, 2012 2:06:17 PM
Updated Apr 6, 2012 3:15:54 PM
Priority Show-stopper
Type Exception
Fix versions 7.0
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem Refactoring
Affected versions 7.0, 7.0 Preview
Fixed in build No Fixed in build
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.1.47, Built=2012-03-14T03:19:02, Configuration=“Csharp PublicMode Vbnet VS1100”
Cannot find placeholder element '2'

--- EXCEPTION #1/2 [ElementFactoryException]
Message = “Cannot find placeholder element '2'”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.Psi.ElementFactoryException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi.VB
StackTraceString = “
  at JetBrains.ReSharper.Psi.VB.Impl.VBElementFactoryImpl.SubstituteNodes(ITreeNode root, ParameterMarker[] markers, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\VB\src\Impl\VBElementFactoryImpl.cs:line 165
     at JetBrains.ReSharper.Psi.VB.Impl.VBElementFactoryImpl.CreateStatement(String format, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\VB\src\Impl\VBElementFactoryImpl.cs:line 388
     at JetBrains.ReSharper.Intentions.VB.ContextActions.InvertIfAction.InvertWithExit(IBlockIfStatement blockIfStatement, IBlock block, String exitKeyword, IVBExpression expression) in C:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\VB\src\ContextActions\InvertIfAction.vb:line 415
     at JetBrains.ReSharper.Intentions.VB.ContextActions.InvertIfAction.ExecuteInternal() in C:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\VB\src\ContextActions\InvertIfAction.vb:line 174
     at JetBrains.ReSharper.Intentions.VB.ContextActions.Util.OneItemContextActionBase.ExecuteInternal(Object[] param) in C:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\VB\src\ContextActions\Legacy\OneItemContextActionBase.vb:line 30
     at JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.ExecuteInternalEx(Object[] param) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Legacy\ContextActionBase.cs:line 53
     at JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.<>c__DisplayClass4.<Execute>b__1() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Legacy\ContextActionBase.cs:line 92
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 241


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Cannot find placeholder element '2'”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = vb
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50323.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 255
     at JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.<>c__DisplayClass4.<Execute>b__0(IProgressIndicator progress) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Legacy\ContextActionBase.cs:line 92
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass11.<RunStartTask>b__10() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 295
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 694
     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.ProcessQueue()
     at System.Windows.Threading.Dispatcher.WndProcHook(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)
     at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
     at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form)
     at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
     at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
     at System.Windows.Forms.Application.RunDialog(Form form)
     at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
     at System.Windows.Forms.Form.ShowDialog()
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass3.<RunCore>b__0(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 125
     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.UI.Application.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, Boolean enforceModalityState) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 84
     at JetBrains.UI.Application.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 188
     at JetBrains.ReSharper.Intentions.Legacy.ContextActionBase.Execute(ISolution solution, ITextControl textControl, String caption, Object[] param) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Legacy\ContextActionBase.cs:line 101
     at JetBrains.ReSharper.Intentions.VB.ContextActions.Util.OneItemContextActionBase.Execute(ISolution solution, ITextControl textControl) in C:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\VB\src\ContextActions\Legacy\OneItemContextActionBase.vb:line 27
     at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.<>c__DisplayClass1.<Clicked>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbMenuItemBase.cs:line 86
     at JetBrains.DocumentModel.DocumentSettings.ExecuteWithOpenDocumentAfterModification(Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\DocumentSettings.cs:line 48
     at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.Clicked(BulbContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbMenuItemBase.cs:line 85
     at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.OnMenuItemClicked(Object key) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 187
     at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass1b.<Run>b__17(Object o) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 452
     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.OnMouseUp(MouseEventArgs e) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1421
     at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
     at System.Windows.Forms.Control.WndProc(Message& m)
     at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.WndProc(Message& m) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1516
     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.Intentions.Bulbs.BulbIndicator.<Run>b__16(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 473
     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.Intentions.Bulbs.BulbIndicator.Run() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 436
     at JetBrains.ReSharper.Intentions.Bulbs.BulbManagerImpl.ShownBulbsMenu() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbManagerImpl.cs:line 341
     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.<ExecutePendingActions>b__8(QueuedAction action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 505
     at JetBrains.Threading.ReentrancyGuard.InterlockedQueue.TryDequeue(Action`1 funcVisitor) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 977
     at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 508
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 694
     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.ProcessQueue()
     at System.Windows.Threading.Dispatcher.WndProcHook(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>