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

RSRP-291044: Object reference not set to an instance of an object.

$
0
0
Reporter Kirill Skrygan (kirillskrygan) Kirill Skrygan (kirillskrygan)
Created Mar 21, 2012 8:17:24 PM
Updated Mar 21, 2012 8:18:57 PM
Priority Show-stopper
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Sergey Coox (coox)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7.0 ASL - branch Version=7.0.0.0, Built=2012-03-21T11:37:14, Configuration=“Csharp InternalMode Vbnet VS1100”
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.ReSharper.ProjectModel
StackTraceString = “
  at JetBrains.ProjectModel.Update.ProjectModelUpdater.CreateProject(LateWriteLockCookie lateWriteLockCookie, IProjectDescriptor descriptor) in c:\Work\ReSharper_hg\Platform\src\Projects\src\Update\ProjectModelUpdater.cs:line 218
     at JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateOrCreateProject(LateWriteLockCookie lateWriteLockCookie, IProjectDescriptor descriptor, UpdateFlags flags) in c:\Work\ReSharper_hg\Platform\src\Projects\src\Update\ProjectModelUpdater.cs:line 64
     at JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateOrCreateProject(IProjectDescriptor projectDescriptor, UpdateFlags flags) in c:\Work\ReSharper_hg\Platform\src\Projects\src\Update\ProjectModelUpdater.cs:line 48
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.HandleAdd(Int32 cFiles, IVsProject[] rgpProjects, Int32[] rgFirstIndices, String[] rgpszMkDocuments, Boolean files) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 662
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.TryGetOrCreateProjectItemByHierarchyItem_MiscFile(VsHierarchyItem hitem) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 329
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.TryGetOrCreateProjectItemByHierarchyItem(VsHierarchyItem hitem) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 285
     at JetBrains.VsIntegration.DevTen.TextControl.VsAttachTextControlsToTextViews.TryGetCreateParams(IWpfTextView view, IVsRunningDocumentTable rdt, VsWindowFrameManager vsWindowFrameManager, IShellLocks invocator, ISolution solution, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, ProjectModelSynchronizer pms, WindowsMessageHookManager hookman) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsAttachTextControlsToTextViews.cs:line 113
     at JetBrains.VsIntegration.DevTen.TextControl.VsAttachTextControlsToTextViews.<>c__DisplayClass2.<.ctor>b__0(Lifetime lifetimeTextView, IWpfTextView textView) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsAttachTextControlsToTextViews.cs:line 55
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<>c__DisplayClass20.<ForEachItemCore>b__10() in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 209
     at JetBrains.Util.Logger.Catch(Action action) in c:\Work\ReSharper_hg\Platform\src\Util\src\Logger\Logger.cs:line 243


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.Logger.LogException(Exception ex) in c:\Work\ReSharper_hg\Platform\src\Util\src\Logger\Logger.cs:line 622
     at JetBrains.Util.Logger.Catch(Action action) in c:\Work\ReSharper_hg\Platform\src\Util\src\Logger\Logger.cs:line 247
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<ForEachItemCore>b__f(AddRemoveEventArgs`1 args) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 209
     at JetBrains.DataFlow.CollectionEvents`1.OnAcknowledgeSinkAddRemove(Action`1 handler, AddRemove addremove) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 454
     at JetBrains.DataFlow.CollectionEvents`1.<.ctor>b__0(Action`1 handler) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 123
     at JetBrains.DataFlow.Infra.SignalWithDelegates`1.OnAfterAdvise(Action`1 handler) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Infra\SignalWithDelegates!1.cs:line 53
     at JetBrains.DataFlow.Signal`1.<>c__DisplayClass2.<AdviseCore>b__0() in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Signal!1.cs:line 246
     at JetBrains.DataFlow.Lifetime.AddBracket(Action FOpening, Action FClosing) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 202
     at JetBrains.DataFlow.Signal`1.AdviseCore(Action`1 handler, Lifetime lifetime) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Signal!1.cs:line 276
     at JetBrains.DataFlow.Signal`1.Advise(Lifetime lifetime, Action`1 handler) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Signal!1.cs:line 453
     at JetBrains.DataFlow.ICollectionEventsEx.ForEachItemCore[TValue](ICollectionEvents`1 thіs, Lifetime lifetime, Action`2 FHandlerA, Action`3 FHandlerB) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 195
     at JetBrains.DataFlow.ICollectionEventsEx.ForEachItem[TValue](ICollectionEvents`1 thіs, Lifetime lifetime, Action`2 FHandler) in c:\Work\ReSharper_hg\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 164
     at JetBrains.VsIntegration.DevTen.TextControl.VsAttachTextControlsToTextViews..ctor(Lifetime lifetime, VsTextViewCollectorDevTen vsTextViewsCollector, TextControlCreator textControlCreator, IVsRunningDocumentTable rdt, IShellLocks invocator, VsWindowFrameManager vsWindowFrameManager, ISolution solution, Lazy`1 vsEditorAdaptersFactoryService, ProjectModelSynchronizer pms, WindowsMessageHookManager hookman) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsAttachTextControlsToTextViews.cs:line 53
     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceImpl() in c:\Work\ReSharper_hg\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 205
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstance() in c:\Work\ReSharper_hg\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 228
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceChecked(OnError onError) in c:\Work\ReSharper_hg\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 240
     at JetBrains.Application.Components.TypeComponentDescriptor.get_Instance() in c:\Work\ReSharper_hg\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 43
     at JetBrains.Application.Components.ComponentContainer.ResolveDescriptors(IEnumerable`1 descriptors) in c:\Work\ReSharper_hg\Platform\src\ComponentModel\src\Components\ComponentContainer.Registration.cs:line 120
     at JetBrains.Application.Components.ComponentContainer.Compose() in c:\Work\ReSharper_hg\Platform\src\ComponentModel\src\Components\ComponentContainer.cs:line 143
     at JetBrains.ProjectModel.Impl.SolutionInstance.OpenSolution() in c:\Work\ReSharper_hg\Platform\src\Projects\src\impl\SolutionInstance.cs:line 63
     at JetBrains.ProjectModel.Impl.SolutionManagerBase.CreateSolutionInstance(SolutionElement solution) in c:\Work\ReSharper_hg\Platform\src\Projects\src\impl\SolutionManagerBase.cs:line 139
     at JetBrains.VsIntegration.ProjectModel.VSSolutionManager.OpenVSSolution(Boolean afterOpenSolution) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\Core\src\ProjectModel\VSSolutionManager.cs:line 238
     at JetBrains.VsIntegration.DevTen.Src.ProjectModel.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__3(IProgressIndicator indicator) in c:\Work\ReSharper_hg\Platform\src\VisualStudio\v10.v11\Src\ProjectModel\VSSolutionManager10.cs:line 254
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\Work\ReSharper_hg\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass11.<RunStartTask>b__10() in c:\Work\ReSharper_hg\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 295
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\Work\ReSharper_hg\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\Work\ReSharper_hg\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.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.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.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     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 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:\Work\ReSharper_hg\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 125
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\Work\ReSharper_hg\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:\Work\ReSharper_hg\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:\Work\ReSharper_hg\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 188
     at JetBrains.VsIntegration.DevTen.Src.ProjectModel.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__2() in c:\Work\ReSharper_hg\Platform\src\VisualStudio\v10.v11\Src\ProjectModel\VSSolutionManager10.cs:line 249
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass3.<ExecuteOrQueueOrMerge>b__0() in c:\Work\ReSharper_hg\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 139
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Work\ReSharper_hg\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\Work\ReSharper_hg\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 414
     at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F) in c:\Work\ReSharper_hg\Platform\src\Util\src\Concurrency\ReentrancyGuardEx.cs:line 64
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F) in c:\Work\ReSharper_hg\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 136
     at JetBrains.VsIntegration.DevTen.Src.ProjectModel.VsSolutionManager10.OnAfterBackgroundSolutionLoadComplete() in c:\Work\ReSharper_hg\Platform\src\VisualStudio\v10.v11\Src\ProjectModel\VSSolutionManager10.cs:line 248
     at Microsoft.VisualStudio.Shell.Interop.IVsTaskBody.DoWork(IVsTask pTask, UInt32 dwCount, IVsTask[] pParentTasks, Object& pResult)
     at Microsoft.VisualStudio.Services.VsTask.<>c__DisplayClass26.<GetCallbackForMultipleParent>b__25(Task`1[] _)
     at Microsoft.VisualStudio.Services.VsTask.<>c__DisplayClass2c.<GetCallback>b__2b()
     at System.Threading.Tasks.Task`1.InnerInvoke()
     at System.Threading.Tasks.Task.Execute()
     at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
     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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
     at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
     at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
     at Microsoft.VisualStudio.Services.TaskSchedulerService.VsUIThreadBlockableTaskScheduler.DoOneTask()
     at Microsoft.VisualStudio.Services.TaskSchedulerService.VsUIBackgroundPriorityScheduler.ProcessQueue()
     at Microsoft.VisualStudio.Services.TaskSchedulerService.VsUIBackgroundPriorityScheduler.<OnTaskQueued>b__0()
     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.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.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     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)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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