Reporter | Dmitry Osinovsky (Dmitry.Osinovsky) |
---|---|
Created | Jan 13, 2012 8:38:28 PM |
Updated | Jan 13, 2012 8:39:45 PM |
Priority | Normal |
Type | Exception |
Fix versions | Next |
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.5.0.0, Built=2012-01-12T09:44:03, Configuration=“Csharp InternalMode Vbnet VS1000”
myPrefferedPart != null
--- EXCEPTION #1/2 [AssertionException]
Message = “myPrefferedPart != null”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “myPrefferedPart != null”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = aspx
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
myPrefferedPart != null
--- EXCEPTION #1/2 [AssertionException]
Message = “myPrefferedPart != 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:\ReSharper\Platform\src\Util\src\Assertion.cs:line 23 at JetBrains.Util.Assertion.Assert(Boolean condition, String message, Object[] args) in c:\ReSharper\Platform\src\Util\src\Assertion.cs:line 16 at JetBrains.ReSharper.Feature.Services.Intentions.DataProviders.TypeTarget.GetTargetDeclaration() in c:\ReSharper\src\Feature.Services\src\Intentions\DataProviders\Targets.cs:line 150 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreateFieldFromUsageItem.ExecuteIntention() in c:\ReSharper\src\Intentions.CSharp\src\QuickFixes\CreateFromUsage\CreateField\CreateFieldFromUsageItem.cs:line 81 at JetBrains.ReSharper.Intentions.CreateFromUsage.CreateFromUsageActionBase2`3.ExecutePsiTransaction(ISolution solution, IProgressIndicator progress) in c:\ReSharper\src\Intentions\src\CreateFromUsage\CreateFromUsageActionBase2.cs:line 125 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.<>c__DisplayClass6.<>c__DisplayClass9.<>c__DisplayClassb.<Execute>b__2() in c:\ReSharper\src\Feature.Services\src\Bulbs\BulbItemImpl.cs:line 52 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\ReSharper\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 241
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “myPrefferedPart != null”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = aspx
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.Util.Logger.LogException(Exception ex) in c:\ReSharper\Platform\src\Util\src\Logger\Logger.cs:line 611 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\ReSharper\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 254 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.<>c__DisplayClass6.<>c__DisplayClass9.<Execute>b__1(IProgressIndicator progress) in c:\ReSharper\src\Feature.Services\src\Bulbs\BulbItemImpl.cs:line 50 at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\ReSharper\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315 at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass11.<RunStartTask>b__10() in c:\ReSharper\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 295 at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\ReSharper\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829 at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\ReSharper\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.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:\ReSharper\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 125 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 47 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:\ReSharper\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:\ReSharper\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 188 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.<>c__DisplayClass6.<Execute>b__0() in c:\ReSharper\src\Feature.Services\src\Bulbs\BulbItemImpl.cs:line 43 at JetBrains.DocumentModel.DocumentSettings.ExecuteWithOpenDocumentAfterModification(Action action) in c:\ReSharper\Platform\src\DocumentModel\src\DocumentSettings.cs:line 48 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbItemImpl.Execute(ISolution solution, ITextControl textControl) in c:\ReSharper\src\Feature.Services\src\Bulbs\BulbItemImpl.cs:line 39 at JetBrains.ReSharper.Intentions.Util.PartSelectionBulbItemProxy.<>c__DisplayClass4.<JetBrains.ReSharper.Feature.Services.Bulbs.IBulbItem.Execute>b__2(Object key) in c:\ReSharper\src\Intentions\src\Util\PartSelectionBulbItemProxy.cs:line 79 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 523 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 472 at JetBrains.UI.PopupMenu.JetPopupMenu.ShowCore_CutoffLate(ShowWhen when, ICollection`1 items) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 641 at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass19.<ShowCore>b__f(LifetimeDefinition defShow, Lifetime lifeShow) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 471 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger) in c:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 113 at JetBrains.UI.PopupMenu.JetPopupMenu.ShowCore(ShowWhen when, LifetimeDefinition lifetimeDefitionOptional, JetPopupMenuViewHierarchy hierarchy) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 412 at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass23.<ShowModal>b__21(LifetimeDefinition definition, Lifetime lifetime) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 557 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger) in c:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 113 at JetBrains.UI.PopupMenu.JetPopupMenu.ShowModal(ShowWhen when, LifetimeDefinition lifetimeDefitionOptional) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 551 at JetBrains.UI.PopupMenu.JetPopupMenus.<>c__DisplayClass8.<ShowModal>b__7(Lifetime lifeMenu) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenus.cs:line 79 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 26 at JetBrains.UI.PopupMenu.JetPopupMenus.ShowModal(ShowWhen when, Action`2 FFillMenu) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenus.cs:line 75 at JetBrains.ReSharper.Intentions.Util.PartSelectionBulbItemProxy.JetBrains.ReSharper.Feature.Services.Bulbs.IBulbItem.Execute(ISolution solution, ITextControl textControl) in c:\ReSharper\src\Intentions\src\Util\PartSelectionBulbItemProxy.cs:line 60 at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.<>c__DisplayClass1.<Clicked>b__0() in c:\ReSharper\src\Intentions\src\Bulbs\BulbMenuItemBase.cs:line 85 at JetBrains.DocumentModel.DocumentSettings.ExecuteWithOpenDocumentAfterModification(Action action) in c:\ReSharper\Platform\src\DocumentModel\src\DocumentSettings.cs:line 48 at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.Clicked(BulbContext context) in c:\ReSharper\src\Intentions\src\Bulbs\BulbMenuItemBase.cs:line 84 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.OnMenuItemClicked(Object key) in c:\ReSharper\src\Intentions\src\Bulbs\BulbIndicator.cs:line 186 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass1d.<Run>b__19(Object o) in c:\ReSharper\src\Intentions\src\Bulbs\BulbIndicator.cs:line 453 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 523 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 472 at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass19.<>c__DisplayClass1d.<ShowCore>b__13(JetPopupMenuItem item) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 455 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 523 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 472 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 523 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\ReSharper\Platform\src\Util\src\DataFlow\Signal!1.cs:line 472 at JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem() in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuDoc.cs:line 279 at JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1582 at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args) in c:\ReSharper\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.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:\ReSharper\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:\ReSharper\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 524 at JetBrains.Threading.JetDispatcher.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout) in c:\ReSharper\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 344 at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass23.<ShowModal>b__21(LifetimeDefinition definition, Lifetime lifetime) in c:\ReSharper\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:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 113 at JetBrains.UI.PopupMenu.JetPopupMenu.ShowModal(ShowWhen when, LifetimeDefinition lifetimeDefitionOptional) in c:\ReSharper\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 551 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<Run>b__18(Lifetime lifetime) in c:\ReSharper\src\Intentions\src\Bulbs\BulbIndicator.cs:line 474 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 26 at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.Run() in c:\ReSharper\src\Intentions\src\Bulbs\BulbIndicator.cs:line 437 at JetBrains.ReSharper.Intentions.Bulbs.BulbManagerImpl.ShownBulbsMenu() in c:\ReSharper\src\Intentions\src\Bulbs\BulbManagerImpl.cs:line 341 at JetBrains.ReSharper.Intentions.QuickFixes.QuickFixActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\ReSharper\src\Intentions\src\QuickFixes\QuickFixAction.cs:line 20 at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\ReSharper\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36 at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\ReSharper\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 182 at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\ReSharper\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 1375 at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass6.<ExecuteActionIfAvailable>b__5(Lifetime lifetime) in c:\ReSharper\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 161 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 47 at JetBrains.ActionManagement.ActionManager.ExecuteActionIfAvailable(IExecutableAction action, IDataContext dataContextOverride) in c:\ReSharper\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:\ReSharper\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 860 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass22.<OleCommandTargetExec>b__1f() in c:\ReSharper\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 332 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\ReSharper\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\ReSharper\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 414 at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, IntPtr vIn, IntPtr vOut, VsCommandHandlerStage stage) in c:\ReSharper\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 328 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__59(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in c:\ReSharper\Platform\src\VSIntegration\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:\ReSharper\Platform\src\VSIntegration\src\Package\VsPackageSdkStub.cs:line 223