Fix wrong plugin installation

54 views
Skip to first unread message

Dmitry Dolotovskikh

unread,
Mar 10, 2015, 3:55:32 PM3/10/15
to resharpe...@googlegroups.com
Hi

I created second plugin from existing by copy&paste "pattern". Just only package id has been changed.
Next I installed new plugin into different experimental instance. Now there both plugins are installed. But Extension Manager can't be opened because follow exception. How to uninstall any plugin?

Object reference not set to an instance of an object.

--- EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.UI
StackTraceString = “
  at JetBrains.UI.ExtensionManager.ExtensionManagerWindowOwner.Show()
     at JetBrains.ReSharper.Feature.Services.ExtensionManager.ExtensionManagerAction.Execute(IDataContext context, DelegateExecute nextExecute)
     at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext)
     at JetBrains.UI.ActionsRevised.Handlers.BoundAction.<>c__DisplayClass3.<Evaluate>b__1()
     at JetBrains.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
     at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.OleCommandTargetExec_Product(IActionDefWithId actionid)
     at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClasse.<OleCommandTargetExec>b__b()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 12.0.31101.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
     at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, VsCommandHandlerStage stage)
     at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__1(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
     at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)
     at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(Object parameter)
     at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
     at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
     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.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)


Frankly saying there is exception right after VS starts:

Object reference not set to an instance of an object.

--- EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.UI
StackTraceString = “
  at JetBrains.UI.Updates.UpdatesLocalInfoManager.CollectCore_Products(ICollection`1 products)
     at JetBrains.UI.Updates.UpdatesLocalInfoManager.CollectCore(UpdateLocalEnvironmentInfo info)
     at JetBrains.VsIntegration.Shell.Updates.UpdatesLocalInfoManagerVs.CollectCore(UpdateLocalEnvironmentInfoVs info)
     at JetBrains.Util.Special.GeneralUtil.With[T](T control, Action`1 action)
     at JetBrains.VsIntegration.Shell.Updates.UpdatesLocalInfoManagerVs.CollectLocalEnvironmentInfo()
     at JetBrains.UI.Updates.UpdatesCategory.CollectLocalEnvironmentInfo()
     at JetBrains.UI.Updates.UpdatesDownloaderSession.BeginRun()
     at JetBrains.UI.Updates.UpdatesManager.<>c__DisplayClass1e.<>c__DisplayClass20.<Init_Download_Deferred>b__17(Lifetime lifeDownload)
     at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass6.<Next>b__5(LifetimeDefinition definition, Lifetime lifetime)
     at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger)
     at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
     at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)
     at JetBrains.UI.Updates.UpdatesManager.<>c__DisplayClass1e.<>c__DisplayClass20.<Init_Download_Deferred>b__16()
     at JetBrains.UI.Updates.UpdatesManager.<>c__DisplayClass1e.<>c__DisplayClass20.<>c__DisplayClass24.<Init_Download_Deferred>b__1b()
     at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass4.<>c__DisplayClass6.<Queue>b__3()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 12.0.31101.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.ReentrancyGuard.<ExecutePendingActions>b__4(QueuedAction action)
     at JetBrains.Threading.ReentrancyGuard.InterlockedQueue.TryDequeue(Action`1 funcVisitor)
     at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
     at JetBrains.Threading.JetDispatcher.Closure.Execute()
     at JetBrains.Threading.JetDispatcher.ProcessQueue()
     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.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)

Matt Ellis

unread,
Mar 25, 2015, 7:27:03 AM3/25/15
to resharpe...@googlegroups.com
To be honest, I don't know. I don't see how that call stack can give a NullReferenceException.

If it's just an experimental instance, I'd be tempted to just reinstall ReSharper - not the subtlest of solutions, but it'll be the easiest. By default it will reinstall any plugins, but in the installer options, you can tell it not to. Uncheck that box and reinstall.

Matt
Reply all
Reply to author
Forward
0 new messages