Reporter | Ravi Pathak (ravipathak) |
---|---|
Created | Nov 21, 2011 10:11:54 AM |
Updated | Apr 24, 2012 6:20:44 PM |
Resolved | Apr 24, 2012 6:20:44 PM |
Priority | Critical |
Type | Exception |
Fix versions | 7.0 |
State | Fixed |
Assignee | Alexey Kuptsov (alexey.kuptsov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
ReSharper 6.1 EAP Version=6.1.8.21, Built=2011-11-19T20:04:02, Configuration=“Csharp PublicMode Vbnet VS1000”
Cannot create statement '???=A;'
--- EXCEPTION #1/2 [ElementFactoryException]
Message = “Cannot create statement '???=A;'”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.Psi.ElementFactoryException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi.CSharp
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Cannot create statement '???=A;'”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsErrorInfo = “Unable to cast object of type 'System.Windows.Forms.ComponentManagerProxy' to type 'Microsoft.VisualStudio.OLE.Interop.IOleComponent'.”
Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at Action(UITaskExecutor.CallTask).Execute(Action )
at Signal(Object::ItemClicked).Fire[0](Action`3 , Signal`1 , 0 , Object )
at Signal(JetPopupMenuItem::JetPopupMenuItems.IncomingExecute).Fire[0](Action`3 , Signal`1 , 0 , Object )
at Signal(JetPopupMenuItem::MenuItemsContainer.IncomingExecute).Fire[0](Action`3 , Signal`1 , 0 , Object )
at Action(BulbManager.Run()).Execute(Action )
at Action(ReentrancyGuard.ExecutePendingActions).Execute(Action )
”
Cannot create statement '???=A;'
--- EXCEPTION #1/2 [ElementFactoryException]
Message = “Cannot create statement '???=A;'”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.Psi.ElementFactoryException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi.CSharp
StackTraceString = “
at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpElementFactoryImpl.CreateStatement(String format, Object[] args) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi.CSharp\src\Impl\CSharpElementFactoryImpl.cs:line 450 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.InitializeVariablesFixBase.ExecuteTransaction(ISolution solution, ITextControl textControl) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions.CSharp\src\QuickFixes\Initialize\InitializeVariablesFixBase.cs:line 75 at JetBrains.ReSharper.Intentions.QuickFixBase.<>c__DisplayClass6.<Execute>b__1() in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Legacy\QuickFixBase.cs:line 52 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\f4954dbf762b12ec\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 239
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Cannot create statement '???=A;'”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsErrorInfo = “Unable to cast object of type 'System.Windows.Forms.ComponentManagerProxy' to type 'Microsoft.VisualStudio.OLE.Interop.IOleComponent'.”
Data.VsVersion = 10.0.40219.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\f4954dbf762b12ec\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 253 at JetBrains.ReSharper.Intentions.QuickFixBase.<>c__DisplayClass6.<Execute>b__0(IProgressIndicator progress) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Legacy\QuickFixBase.cs:line 50 at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 302 at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClasse.<RunStartTask>b__d() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 282
at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 771 at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 645 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.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) 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.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) 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\f4954dbf762b12ec\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 119 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\f4954dbf762b12ec\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) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 82 at JetBrains.UI.Application.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 189 at JetBrains.ReSharper.Intentions.QuickFixBase.Execute(ISolution solution, ITextControl textControl) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Legacy\QuickFixBase.cs:line 60 at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.<>c__DisplayClass1.<Clicked>b__0() in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Bulbs\BulbMenuItemBase.cs:line 85 at JetBrains.DocumentModel.DocumentSettings.ExecuteWithOpenDocumentAfterModification(Action action) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\DocumentModel\src\DocumentSettings.cs:line 49 at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.Clicked(BulbContext context) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Bulbs\BulbMenuItemBase.cs:line 86 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.OnMenuItemClicked(Object key) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Bulbs\BulbIndicator.cs:line 187 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass1d.<Run>b__19(Object o) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Bulbs\BulbIndicator.cs:line 453 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 364 at JetBrains.DataFlow.Signal`1.<.ctor>b__0(Signal`1 this, TValue value, Object cookie) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 483 at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass19.<>c__DisplayClass1d.<ShowCore>b__13(JetPopupMenuItem item) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 461 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 364 at JetBrains.DataFlow.Signal`1.<.ctor>b__0(Signal`1 this, TValue value, Object cookie) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 483 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 474 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 364 at JetBrains.DataFlow.Signal`1.<.ctor>b__0(Signal`1 this, TValue value, Object cookie) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 483 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 474 at JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuDoc.cs:line 287 at JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnMouseUp(MouseEventArgs e) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1425 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\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1520 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\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 510 at JetBrains.Threading.JetDispatcher.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 331 at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass23.<ShowModal>b__21(LifetimeDefinition definition, Lifetime lifetime) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 563 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 116 at JetBrains.UI.PopupMenu.JetPopupMenu.ShowModal(ShowWhen when, LifetimeDefinition lifetimeDefitionOptional) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 565 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<Run>b__18(Lifetime lifetime) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Bulbs\BulbIndicator.cs:line 474 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.ReSharper.Intentions.Bulbs.BulbIndicator.Run() in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Bulbs\BulbIndicator.cs:line 437 at JetBrains.ReSharper.Intentions.Bulbs.BulbManagerImpl.ShownBulbsMenu() in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Bulbs\BulbManagerImpl.cs:line 343
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.<ExecutePendingActions>b__8(QueuedAction action) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 506 at JetBrains.Threading.ReentrancyGuard.InterlockedQueue.TryDequeue(Action`1 funcVisitor) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 978 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 509
at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 771 at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 645 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.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) 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.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)