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

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

$
0
0
Reporter Vincent Wright (Vincent.Wright) Vincent Wright (Vincent.Wright)
Created Mar 28, 2012 3:45:37 AM
Updated Mar 28, 2012 4:02:24 AM
Resolved Mar 28, 2012 4:02:21 AM
Priority Normal
Type Exception
Fix versions No Fix versions
State Duplicate
Assignee Sergey Coox (coox)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.5.37, Built=2012-03-26T02:12:10, Configuration=“Csharp PublicMode 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:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Projects\src\Update\ProjectModelUpdater.cs:line 218
     at JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateOrCreateProject(LateWriteLockCookie lateWriteLockCookie, IProjectDescriptor descriptor, UpdateFlags flags) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Projects\src\Update\ProjectModelUpdater.cs:line 64
     at JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateOrCreateProject(IProjectDescriptor projectDescriptor, UpdateFlags flags) in c:\BuildAgent\work\3355b838ddaf4e5c\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:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 661
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.TryGetOrCreateProjectItemByHierarchyItem_MiscFile(VsHierarchyItem hitem) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 328
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.TryGetOrCreateProjectItemByHierarchyItem(VsHierarchyItem hitem) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ProjectModel\ProjectModelSynchronizer.cs:line 284
     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:\BuildAgent\work\3355b838ddaf4e5c\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:\BuildAgent\work\3355b838ddaf4e5c\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:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 209
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\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.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<ForEachItemCore>b__f(AddRemoveEventArgs`1 args) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 210
     at JetBrains.DataFlow.CollectionEvents`1.OnAcknowledgeSinkAddRemove(Action`1 handler, AddRemove addremove) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 454
     at JetBrains.DataFlow.CollectionEvents`1.<.ctor>b__0(Action`1 handler) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 123
     at JetBrains.DataFlow.Infra.SignalWithDelegates`1.OnAfterAdvise(Action`1 handler) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Infra\SignalWithDelegates!1.cs:line 54
     at JetBrains.DataFlow.Signal`1.<>c__DisplayClass2.<AdviseCore>b__0() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 246
     at JetBrains.DataFlow.Lifetime.AddBracket(Action FOpening, Action FClosing) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 206
     at JetBrains.DataFlow.Signal`1.AdviseCore(Action`1 handler, Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 277
     at JetBrains.DataFlow.Signal`1.Advise(Lifetime lifetime, Action`1 handler) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 454
     at JetBrains.DataFlow.ICollectionEventsEx.ForEachItemCore[TValue](ICollectionEvents`1 thіs, Lifetime lifetime, Action`2 FHandlerA, Action`3 FHandlerB) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 245
     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:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsAttachTextControlsToTextViews.cs:line 59
     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 JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceImpl() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 205
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstance() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 228
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceChecked(OnError onError) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 241
     at JetBrains.Application.Components.TypeComponentDescriptor.get_Instance() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 44
     at JetBrains.Application.Components.ComponentContainer.ResolveDescriptors(IEnumerable`1 descriptors) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ComponentModel\src\Components\ComponentContainer.Registration.cs:line 120
     at JetBrains.Application.Components.ComponentContainer.Compose() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ComponentModel\src\Components\ComponentContainer.cs:line 145
     at JetBrains.ProjectModel.Impl.SolutionInstance.OpenSolution() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Projects\src\impl\SolutionInstance.cs:line 61
     at JetBrains.ProjectModel.Impl.SolutionManagerBase.CreateSolutionInstance(SolutionElement solution) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Projects\src\impl\SolutionManagerBase.cs:line 141
     at JetBrains.VsIntegration.ProjectModel.VSSolutionManager.OpenVSSolution(Boolean afterOpenSolution) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ProjectModel\VSSolutionManager.cs:line 238
     at JetBrains.VsIntegration.DevTen.Src.ProjectModel.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__3(IProgressIndicator indicator) in c:\BuildAgent\work\3355b838ddaf4e5c\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:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass11.<RunStartTask>b__10() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 295
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\3355b838ddaf4e5c\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:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 125
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     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:\BuildAgent\work\3355b838ddaf4e5c\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:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 188
     at JetBrains.VsIntegration.DevTen.Src.ProjectModel.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__2() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\ProjectModel\VSSolutionManager10.cs:line 249
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass3.<ExecuteOrQueueOrMerge>b__0() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 139
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
     at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuardEx.cs:line 64
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 136
     at JetBrains.VsIntegration.DevTen.Src.ProjectModel.VsSolutionManager10.OnAfterBackgroundSolutionLoadComplete() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\ProjectModel\VSSolutionManager10.cs:line 257
     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>