Visual Studio 2010 Crash with ReSharper 5.1.1753.3

I installed ReSharper 5.1.1753.3 today and am having all kinds of problems
with it. Initially I opened solution containing a website project and eight
or nine DLL projects and ReSharper threw a hundred or so exceptions in the
first few minutes
(http://youtrack.jetbrains.net/issue/RSRP-192461?query=by%3A+me). I closed
Visual Studio 2010 and now I can't open the solution.

When I attempt to open the solution with ReSharper enabled I immediately see
a dialog that Visual Studio 2010 crashed with a NullReferenceException. I
attached a debugger to Visual Studio 2010 and caught the stack trace at the
end of the message.

Nothing in the stack trace seems to indicate ReSharper is in the call chain,
but I consistently get this exception when ReSharper is enabled. If I
disable ReSharper, I can open the solution successfully.

System.NullReferenceException was unhandled
  Message=Object reference not set to an instance of an object.
  Source=QuickAccess.VsProviders
  StackTrace:
       at
Microsoft.VisualStudio.QuickAccess.VsProviders.Extensions.GetProperty[T](IVsShell
shell, Int32 propId)
       at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskXmlFileTaskProvider.GetTasks()
       at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService.b__d()
       at
Microsoft.VisualStudio.QuickAccess.Platform.TaskPool.MonitorTaskQueue()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

5 comments
Comment actions Permalink

Hello Greg,

This exception (http://youtrack.jetbrains.net/issue/RSRP-192461) should be
fixed in build #1754 which is already out. Could you please try that build
and check if it works better for you? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I installed ReSharper 5.1.1753.3 today and am having all kinds of
problems with it. Initially I opened solution containing a website
project and eight or nine DLL projects and ReSharper threw a hundred
or so exceptions in the first few minutes
(http://youtrack.jetbrains.net/issue/RSRP-192461?query=by%3A+me). I
closed Visual Studio 2010 and now I can't open the solution.

When I attempt to open the solution with ReSharper enabled I
immediately see a dialog that Visual Studio 2010 crashed with a
NullReferenceException. I attached a debugger to Visual Studio 2010
and caught the stack trace at the end of the message.

Nothing in the stack trace seems to indicate ReSharper is in the call
chain, but I consistently get this exception when ReSharper is
enabled. If I disable ReSharper, I can open the solution successfully.

System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=QuickAccess.VsProviders
StackTrace:
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Extensions.GetProperty[
T](IVsShell
shell, Int32 propId)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskXmlFileTaskPr
ovider.GetTasks()
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService.<Get
TasksValidForContext>b__0(ITaskProvider
provider)
at
System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1
collection)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService.GetT
asksValidForContext(IEnumerable`1
contexts)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskSearchProvide
r.GetSearchTargets()
at
Microsoft.VisualStudio.QuickAccess.Platform.Index.ResetSearchTargets()
at
Microsoft.VisualStudio.QuickAccess.Platform.Index.<BeginResetSearchTar
gets>b__d()
at
Microsoft.VisualStudio.QuickAccess.Platform.TaskPool.MonitorTaskQueue(
)
at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:



0
Comment actions Permalink

Thanks, Andrey. This version solves the problem with the flurry of
exceptions while working on a project but I'm still having a problem with
Visual Studio 2010 crashing when ReSharper is loaded. With this particular
solution, I run Visual Studio 2010 as an administrator then open the
solution that contains a website project and several class library projects.
I get the crash dialog almost immediately when clicking on the solution, but
the solution continues to load in the background while the JIT Debugger
dialog is up.

If I suspend ReSharper before opening the solution, I can open the solution
without the crash.

I saved a memory dump if it'll help track down the problem.

"Andrew Serebryansky"  wrote in message
news:c8a898dda3838cd37640874c1cd@news.intellij.net...

Hello Greg,

This exception (http://youtrack.jetbrains.net/issue/RSRP-192461) should be
fixed in build #1754 which is already out. Could you please try that build
and check if it works better for you? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I installed ReSharper 5.1.1753.3 today and am having all kinds of
problems with it. Initially I opened solution containing a website
project and eight or nine DLL projects and ReSharper threw a hundred
or so exceptions in the first few minutes
(http://youtrack.jetbrains.net/issue/RSRP-192461?query=by%3A+me). I
closed Visual Studio 2010 and now I can't open the solution.

>

When I attempt to open the solution with ReSharper enabled I
immediately see a dialog that Visual Studio 2010 crashed with a
NullReferenceException. I attached a debugger to Visual Studio 2010
and caught the stack trace at the end of the message.

>

Nothing in the stack trace seems to indicate ReSharper is in the call
chain, but I consistently get this exception when ReSharper is
enabled. If I disable ReSharper, I can open the solution successfully.

>

System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=QuickAccess.VsProviders
StackTrace:
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Extensions.GetProperty[
T](IVsShell
shell, Int32 propId)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskXmlFileTaskPr
ovider.GetTasks()
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService.<Get
TasksValidForContext>b__0(ITaskProvider
provider)
at
System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1
collection)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService.GetT
asksValidForContext(IEnumerable`1
contexts)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskSearchProvide
r.GetSearchTargets()
at
Microsoft.VisualStudio.QuickAccess.Platform.Index.ResetSearchTargets()
at
Microsoft.VisualStudio.QuickAccess.Platform.Index.<BeginResetSearchTar
gets>b__d()
at
Microsoft.VisualStudio.QuickAccess.Platform.TaskPool.MonitorTaskQueue(
)
at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:


0
Comment actions Permalink

I take that back... the "Cannot access RangeableContainer while it hasn't
processed changes yet." exceptions are back. This time the exceptions
started popping up after I reformatted a class and renamed a method
parameter.

http://youtrack.jetbrains.net/issue/RSRP-193047

"Greg Law"  wrote in message
news:i960uv$60e$1@nntp-server.labs.intellij.net...

Thanks, Andrey. This version solves the problem with the flurry of
exceptions while working on a project but I'm still having a problem with
Visual Studio 2010 crashing when ReSharper is loaded. With this particular
solution, I run Visual Studio 2010 as an administrator then open the
solution that contains a website project and several class library projects.
I get the crash dialog almost immediately when clicking on the solution, but
the solution continues to load in the background while the JIT Debugger
dialog is up.

If I suspend ReSharper before opening the solution, I can open the solution
without the crash.

I saved a memory dump if it'll help track down the problem.

"Andrew Serebryansky"  wrote in message
news:c8a898dda3838cd37640874c1cd@news.intellij.net...

Hello Greg,

This exception (http://youtrack.jetbrains.net/issue/RSRP-192461) should be
fixed in build #1754 which is already out. Could you please try that build
and check if it works better for you? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I installed ReSharper 5.1.1753.3 today and am having all kinds of
problems with it. Initially I opened solution containing a website
project and eight or nine DLL projects and ReSharper threw a hundred
or so exceptions in the first few minutes
(http://youtrack.jetbrains.net/issue/RSRP-192461?query=by%3A+me). I
closed Visual Studio 2010 and now I can't open the solution.

>

When I attempt to open the solution with ReSharper enabled I
immediately see a dialog that Visual Studio 2010 crashed with a
NullReferenceException. I attached a debugger to Visual Studio 2010
and caught the stack trace at the end of the message.

>

Nothing in the stack trace seems to indicate ReSharper is in the call
chain, but I consistently get this exception when ReSharper is
enabled. If I disable ReSharper, I can open the solution successfully.

>

System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=QuickAccess.VsProviders
StackTrace:
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Extensions.GetProperty[
T](IVsShell
shell, Int32 propId)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskXmlFileTaskPr
ovider.GetTasks()
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService.<Get
TasksValidForContext>b__0(ITaskProvider
provider)
at
System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1
collection)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService.GetT
asksValidForContext(IEnumerable`1
contexts)
at
Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskSearchProvide
r.GetSearchTargets()
at
Microsoft.VisualStudio.QuickAccess.Platform.Index.ResetSearchTargets()
at
Microsoft.VisualStudio.QuickAccess.Platform.Index.<BeginResetSearchTar
gets>b__d()
at
Microsoft.VisualStudio.QuickAccess.Platform.TaskPool.MonitorTaskQueue(
)
at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:


0
Comment actions Permalink

Hello Greg,

We will publish build #1755 in 30 minutes and it should fix this exception
as well. Let me know if this helps.
As to the crash you've mentioned, could you please upload the dump to ftp://ftp.intellij.net/.uploads/?
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I take that back... the "Cannot access RangeableContainer while it
hasn't processed changes yet." exceptions are back. This time the
exceptions started popping up after I reformatted a class and renamed
a method parameter.

http://youtrack.jetbrains.net/issue/RSRP-193047

"Greg Law"  wrote in message
news:i960uv$60e$1@nntp-server.labs.intellij.net...

Thanks, Andrey. This version solves the problem with the flurry of
exceptions while working on a project but I'm still having a problem
with Visual Studio 2010 crashing when ReSharper is loaded. With this
particular solution, I run Visual Studio 2010 as an administrator then
open the solution that contains a website project and several class
library projects. I get the crash dialog almost immediately when
clicking on the solution, but the solution continues to load in the
background while the JIT Debugger dialog is up.

If I suspend ReSharper before opening the solution, I can open the
solution without the crash.

I saved a memory dump if it'll help track down the problem.

"Andrew Serebryansky"  wrote in message
news:c8a898dda3838cd37640874c1cd@news.intellij.net...
Hello Greg,

This exception (http://youtrack.jetbrains.net/issue/RSRP-192461)
should be fixed in build #1754 which is already out. Could you please
try that build and check if it works better for you? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> I installed ReSharper 5.1.1753.3 today and am having all kinds of
>> problems with it. Initially I opened solution containing a website
>> project and eight or nine DLL projects and ReSharper threw a hundred
>> or so exceptions in the first few minutes
>> (http://youtrack.jetbrains.net/issue/RSRP-192461?query=by%3A+me). I
>> closed Visual Studio 2010 and now I can't open the solution.
>>
>> When I attempt to open the solution with ReSharper enabled I
>> immediately see a dialog that Visual Studio 2010 crashed with a
>> NullReferenceException. I attached a debugger to Visual Studio 2010
>> and caught the stack trace at the end of the message.
>>
>> Nothing in the stack trace seems to indicate ReSharper is in the call
>> chain, but I consistently get this exception when ReSharper is
>> enabled. If I disable ReSharper, I can open the solution
>> successfully.
>>
>> System.NullReferenceException was unhandled
>> Message=Object reference not set to an instance of an object.
>> Source=QuickAccess.VsProviders
>> StackTrace:
>> at
>> Microsoft.VisualStudio.QuickAccess.VsProviders.Extensions.GetProperty
>> [
>> T](IVsShell
>> shell, Int32 propId)
>> at
>> Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskXmlFileTaskP
>> r
>> ovider.GetTasks()
>> at
>> Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService. InnerException:


0
Comment actions Permalink

Hello Greg,

We will publish build #1755 in 30 minutes and it should fix this exception
as well. Let me know if this helps.
As to the crash you've mentioned, could you please upload the dump to ftp://ftp.intellij.net/.uploads/?
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I take that back... the "Cannot access RangeableContainer while it
hasn't processed changes yet." exceptions are back. This time the
exceptions started popping up after I reformatted a class and renamed
a method parameter.

http://youtrack.jetbrains.net/issue/RSRP-193047

"Greg Law"  wrote in message
news:i960uv$60e$1@nntp-server.labs.intellij.net...

Thanks, Andrey. This version solves the problem with the flurry of
exceptions while working on a project but I'm still having a problem
with Visual Studio 2010 crashing when ReSharper is loaded. With this
particular solution, I run Visual Studio 2010 as an administrator then
open the solution that contains a website project and several class
library projects. I get the crash dialog almost immediately when
clicking on the solution, but the solution continues to load in the
background while the JIT Debugger dialog is up.

If I suspend ReSharper before opening the solution, I can open the
solution without the crash.

I saved a memory dump if it'll help track down the problem.

"Andrew Serebryansky"  wrote in message
news:c8a898dda3838cd37640874c1cd@news.intellij.net...
Hello Greg,

This exception (http://youtrack.jetbrains.net/issue/RSRP-192461)
should be fixed in build #1754 which is already out. Could you please
try that build and check if it works better for you? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> I installed ReSharper 5.1.1753.3 today and am having all kinds of
>> problems with it. Initially I opened solution containing a website
>> project and eight or nine DLL projects and ReSharper threw a hundred
>> or so exceptions in the first few minutes
>> (http://youtrack.jetbrains.net/issue/RSRP-192461?query=by%3A+me). I
>> closed Visual Studio 2010 and now I can't open the solution.
>>
>> When I attempt to open the solution with ReSharper enabled I
>> immediately see a dialog that Visual Studio 2010 crashed with a
>> NullReferenceException. I attached a debugger to Visual Studio 2010
>> and caught the stack trace at the end of the message.
>>
>> Nothing in the stack trace seems to indicate ReSharper is in the call
>> chain, but I consistently get this exception when ReSharper is
>> enabled. If I disable ReSharper, I can open the solution
>> successfully.
>>
>> System.NullReferenceException was unhandled
>> Message=Object reference not set to an instance of an object.
>> Source=QuickAccess.VsProviders
>> StackTrace:
>> at
>> Microsoft.VisualStudio.QuickAccess.VsProviders.Extensions.GetProperty
>> [
>> T](IVsShell
>> shell, Int32 propId)
>> at
>> Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TaskXmlFileTaskP
>> r
>> ovider.GetTasks()
>> at
>> Microsoft.VisualStudio.QuickAccess.VsProviders.Tasks.TasksService. InnerException:


0

Please sign in to leave a comment.