com.jetbrains.resharper.util.idea.ReSharperHostException

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.ReSharper.Host StackTraceString = “ at JetBrains.ReSharper.Host.Features.SolutionBuilder.ComponentsImpl.RiderSolutionConfigurationHolder.<>c__DisplayClass3.<GetProjectsConfiguration>b__1(ProjectWithData data) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) at JetBrains.ReSharper.Host.Features.SolutionBuilder.ComponentsImpl.RiderSolutionConfigurationHolder.GetProjectsConfiguration(IEnumerable`1 projects) at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ProjectsPersistentKeeper.GetConfig(IEnumerable`1 projects) ” --- Outer --- --- EXCEPTION #2/2 [LoggerException] Message = “Object reference not set to an instance of an object.” ExceptionPath = Root ClassName = JetBrains.Util.LoggerException InnerException = “Exception #1 at Root.InnerException” HResult = COR_E_APPLICATION=80131600 StackTraceString = “ at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ProjectsPersistentKeeper.GetConfig(IEnumerable`1 projects) at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ProjectsPersistentKeeper.RecalculateProjects() at JetBrains.Threading.GroupingEvent.Execute() at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents() at JetBrains.Threading.GroupingEventHost.<OnClockTimerTick>b__4() at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority) at JetBrains.Threading.GroupingEventHost.OnClockTimerTick() at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg) at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run() at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellModel shellModel, ApplicationShutdownRequests shutdownRequests) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass4.<.ctor>b__0() at JetBrains.Util.Logging.Logger.Catch(Action action) at JetBrains.Threading.IThreadingEx.<>c__DisplayClass7.<>c__DisplayClass9.<ExecuteOrQueueWhenNotGuarded>b__4() at JetBrains.Threading.JetDispatcher.Closure.Execute() at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, 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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext 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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, 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) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass13.<RunHostMessageLoop>b__e(Lifetime lifetime) at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ) at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv) at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv) at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv) at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv) at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams) at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input) at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args) at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.<Main>b__0(Lifetime lifetime) at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main() at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) ”

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via YouTrack by Unknown author, 11 months ago
    [LoggerException] Message = “Object reference not set to an instance of an object.” ExceptionPath = Root ClassName = JetBrains.Util.LoggerException InnerException = “Exception #1 at Root.InnerExceptionHResult = COR_E_APPLICATION=80131600 StackTraceString
  • via YouTrack by Unknown author, 1 year ago
    source, Delegate callback, 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
  • .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
  • Stack trace

    • com.jetbrains.resharper.util.idea.ReSharperHostException: 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.ReSharper.Host StackTraceString = “ at JetBrains.ReSharper.Host.Features.SolutionBuilder.ComponentsImpl.RiderSolutionConfigurationHolder.<>c__DisplayClass3.<GetProjectsConfiguration>b__1(ProjectWithData data) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) at JetBrains.ReSharper.Host.Features.SolutionBuilder.ComponentsImpl.RiderSolutionConfigurationHolder.GetProjectsConfiguration(IEnumerable`1 projects) at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ProjectsPersistentKeeper.GetConfig(IEnumerable`1 projects) ” --- Outer --- --- EXCEPTION #2/2 [LoggerException] Message = “Object reference not set to an instance of an object.” ExceptionPath = Root ClassName = JetBrains.Util.LoggerException InnerException = “Exception #1 at Root.InnerException” HResult = COR_E_APPLICATION=80131600 StackTraceString = “ at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ProjectsPersistentKeeper.GetConfig(IEnumerable`1 projects) at JetBrains.ReSharper.Features.SolBuilderDuo.Services.ProjectsPersistentKeeper.RecalculateProjects() at JetBrains.Threading.GroupingEvent.Execute() at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents() at JetBrains.Threading.GroupingEventHost.<OnClockTimerTick>b__4() at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority) at JetBrains.Threading.GroupingEventHost.OnClockTimerTick() at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg) at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run() at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellModel shellModel, ApplicationShutdownRequests shutdownRequests) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass4.<.ctor>b__0() at JetBrains.Util.Logging.Logger.Catch(Action action) at JetBrains.Threading.IThreadingEx.<>c__DisplayClass7.<>c__DisplayClass9.<ExecuteOrQueueWhenNotGuarded>b__4() at JetBrains.Threading.JetDispatcher.Closure.Execute() at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, 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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext 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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, 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) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at JetBrains.Application.Environment.IJetHostEx.<>c__DisplayClass13.<RunHostMessageLoop>b__e(Lifetime lifetime) at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ) at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv) at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv) at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv) at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv) at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams) at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input) at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args) at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.<Main>b__0(Lifetime lifetime) at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main() at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) ” at com.jetbrains.resharper.protocol.BackendToFrontendLoggerHost$1.invoke(BackendToFrontendLoggerHost.kt:26) at com.jetbrains.resharper.protocol.BackendToFrontendLoggerHost$1.invoke(BackendToFrontendLoggerHost.kt:12) at com.jetbrains.rider.util.reactive.Signal.fire(Signal.kt:25) at com.jetbrains.rider.framework.impl.RdSignal$1$1.invoke(RdSignal.kt:33) at com.jetbrains.rider.framework.impl.RdSignal$1$1.invoke(RdSignal.kt:14) at com.jetbrains.rider.framework.MessageBroker$Subscription$invoke$1.invoke(MessageBroker.kt:39) at com.jetbrains.rider.framework.MessageBroker$Subscription$invoke$1.invoke(MessageBroker.kt:24) at com.jetbrains.resharper.protocol.RdDispatcher.a(RdDispatcher.kt:86) at com.jetbrains.resharper.protocol.RdDispatcher.access$flushAll(RdDispatcher.kt:12) at com.jetbrains.resharper.protocol.RdDispatcher$repost$1.run(RdDispatcher.kt:74) at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:294) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:338) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:322) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:829) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:665) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.