Exception just opening project Follow
I was opening a project which is a big one and takes a while to open. While it was opening, I hit the Desktop icon to get to my desktop, opened a text file testcase, and then began reading through it. I got a blink indicating that Visual Studio was done, but found that instead of opening the file, Resharper was in an infinite loop throwing the following an exception. I tried sending it via the popup box but your software cannot handle our proxy configuration. Here is the exception.
JetBrains.ReSharper.Util.InternalErrorException: Read lock should be acquired. See Shell.AcquireReadLock().
at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Util\src\Logger.cs:line 137 column 9
at JetBrains.ReSharper.Shell.VS.VSShell.AssertReadAccessAllowed() in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\shell\vsImpl\VSShell.cs:line 637 column 5
at Psi.Impl.PsiManagerImpl.GetPsiFile(IProjectItem) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\psi\impl\PsiManagerImpl.cs:line 665 column 7
at Psi.Impl.Caches.WordIndexComponent.UpdateIndex(IProjectItem, Boolean) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\psi\impl\caches\WordIndexImpl.cs:line 128 column 7
at Psi.Impl.Caches.WordIndexComponent.solutionVisitor_AfterProjectItemVisitedQuick(IProjectItem, ProcessingContext) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\psi\impl\caches\WordIndexImpl.cs:line 237 column 5
at JetBrains.ReSharper.ProjectModel.ProjectItemVisitedHandler.Invoke(IProjectItem, ProcessingContext)
at JetBrains.ReSharper.ProjectModel.Impl.SolutionVisitor.VisitProjectItem(IProjectItem) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\impl\SolutionVisitor.cs:line 120 column 7
at JetBrains.ReSharper.ProjectModel.VS.VSProjectItem.Accept(ProjectVisitor) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\vsImpl\VSProjectItem.cs:line 129 column 5
at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProjectItem(IProjectItem) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\ProjectVisitor.cs:line 33 column 9
at JetBrains.ReSharper.ProjectModel.Impl.SolutionVisitor.VisitProjectItem(IProjectItem) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\impl\SolutionVisitor.cs:line 119 column 7
at JetBrains.ReSharper.ProjectModel.VS.VSProjectItem.Accept(ProjectVisitor) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\vsImpl\VSProjectItem.cs:line 129 column 5
at JetBrains.ReSharper.ProjectModel.RecursiveProjectVisitor.VisitProject(IProject) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\ProjectVisitor.cs:line 39 column 9
at JetBrains.ReSharper.ProjectModel.Impl.SolutionVisitor.VisitProject(IProject) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\impl\SolutionVisitor.cs:line 103 column 9
at JetBrains.ReSharper.ProjectModel.VS.VSProject.Accept(ProjectVisitor) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\vsImpl\VSProject.cs:line 530 column 5
at JetBrains.ReSharper.ProjectModel.Impl.SolutionVisitor.VisitSolution(ISolution) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\impl\SolutionVisitor.cs:line 141 column 11
at JetBrains.ReSharper.ProjectModel.Impl.StartupSolutionVisitor.VisitSolution(ISolution) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\impl\SolutionVisitor.cs:line 283 column 9
at JetBrains.ReSharper.ProjectModel.Impl.SolutionBase.Accept(ProjectVisitor) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\impl\SolutionBase.cs:line 40 column 5
at JetBrains.ReSharper.ProjectModel.Impl.VisitSolutionAction.Run(IProgressIndicator) in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\project\impl\SolutionVisitor.cs:line 28 column 9
at JetBrains.ReSharper.Progress.TaskHelper.Run() in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\progress\ProgressWindow.cs:line 366 column 11
at JetBrains.ReSharper.Progress.AsyncTaskHelper.ThreadFunc() in C:\TEMP\tmp7FBA.tmp\Release1.0\src\Services\progress\ProgressWindow.cs:line 413 column 7
Please sign in to leave a comment.
This exception has been reported already for me and the bug remain yet.
Hello Michael,
we're aware of this exception but don't know a reliable way to repeat it.
Some questions:
1) What build you're using? (presumably it's 1.x)
2) Where the text file testcase was opened - in VS or in some other application?
I suspect that the problem happens when you're trying to open a file in the
same instance of VS that is
currently running ReSharper with the loading solution dialog. Am I right?
Thanks in advance.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
See this post for the exception's source (with me).
http://www.intellij.net/forums/thread.jsp?forum=59&thread=164000&tstart=15&trange=15#4922319
Regards
Hello CFQueb,
I'm afraid it's a quite different failure though at the same point. The problem
the original poster was talking about occurs at the solution opening, while
the exception you're referring to happens while doing code completion.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi,
Could you reproduce the bug?. Only is doing a on an element in the Object Members list.
Regards
Hello CFQueb,
I saw the bug with doing something unusual during solution opening several
times when we tried to repeat it,
however, it is not repeatable in a reliable way.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"