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

RSRP-282984: myPrefferedPart != null

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Nov 23, 2011 10:55:18 PM
Updated Mar 27, 2012 5:03:10 PM
Priority Critical
Type Exception
Fix versions 7.0
State Submitted
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-20T06:34:02, Configuration=“Csharp PublicMode 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.ReSharper.Feature.Services
StackTraceString = “
  at JetBrains.ReSharper.Feature.Services.Intentions.DataProviders.TypeTarget.GetTargetDeclaration() in c:\BuildAgent\work\f4954dbf762b12ec\src\Feature.Services\src\Intentions\DataProviders\Targets.cs:line 150
     at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreatePropertyFromObjectCreationFix.GetContext() in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions.CSharp\src\QuickFixes\CreateFromUsage\Property\CreatePropertyFromObjectCreationFix.cs:line 59
     at JetBrains.Util.Lazy.Lazy.JetLazy`1.get_Value() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\System\Lazy.cs:line 55
     at JetBrains.ReSharper.Intentions.CreateFromUsage.CreateFromUsageItemBase`1.SetWorkingPart(IDeclaration partDeclaration) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\CreateFromUsage\CreateFromUsageItemBase.cs:line 31
     at JetBrains.ReSharper.Intentions.Util.PartSelectionBulbItemProxy.<>c__DisplayClass4.<JetBrains.ReSharper.Feature.Services.Bulbs.IBulbItem.Execute>b__2(Object key) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Util\PartSelectionBulbItemProxy.cs:line 83
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 364


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “myPrefferedPart != null”
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.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\DataFlow\Signal!1.cs:line 368
     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 Signal(Object::ItemClicked).Fire[0](Action`3 , Signal`1 , 0 , Object )
     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.ShowCore_CutoffLate(ShowWhen when, ICollection`1 items) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 645
     at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass19.<ShowCore>b__f(LifetimeDefinition defShow, Lifetime lifeShow) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 474
     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.ShowCore(ShowWhen when, LifetimeDefinition lifetimeDefitionOptional, JetPopupMenuViewHierarchy hierarchy) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 535
     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.UI.PopupMenu.JetPopupMenus.<>c__DisplayClass8.<ShowModal>b__7(Lifetime lifeMenu) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenus.cs:line 83
     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.UI.PopupMenu.JetPopupMenus.ShowModal(ShowWhen when, Action`2 FFillMenu) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenus.cs:line 85
     at JetBrains.ReSharper.Intentions.Util.PartSelectionBulbItemProxy.JetBrains.ReSharper.Feature.Services.Bulbs.IBulbItem.Execute(ISolution solution, ITextControl textControl) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\Util\PartSelectionBulbItemProxy.cs:line 91
     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 Signal(Object::ItemClicked).Fire[0](Action`3 , Signal`1 , 0 , Object )
     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 Signal(JetPopupMenuItem::JetPopupMenuItems.IncomingExecute).Fire[0](Action`3 , Signal`1 , 0 , Object )
     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 Signal(JetPopupMenuItem::MenuItemsContainer.IncomingExecute).Fire[0](Action`3 , Signal`1 , 0 , Object )
     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.OnKeyDownLowPriority(KeyEventArgs args) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1585
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 816
     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\f4954dbf762b12ec\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 1013
     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.ReSharper.Intentions.QuickFixes.QuickFixActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\f4954dbf762b12ec\src\Intentions\src\QuickFixes\QuickFixAction.cs:line 22
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
     at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 184
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 1380
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass6.<ExecuteActionIfAvailable>b__5(Lifetime lifetime) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 162
     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.ActionManagement.ActionManager.ExecuteActionIfAvailable(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\f4954dbf762b12ec\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\f4954dbf762b12ec\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 865
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass22.<OleCommandTargetExec>b__1f() in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 337
at Action(OleCommandTargetExec).Execute(Action )
     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.TryExecute(String name, Action action) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 416
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, IntPtr vIn, IntPtr vOut, VsCommandHandlerStage stage) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 333
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__59(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in c:\BuildAgent\work\f4954dbf762b12ec\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 1426
     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\f4954dbf762b12ec\Platform\src\VSIntegration\src\Package\VsPackageSdkStub.cs:line 226

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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