Unhandled Exception

I keep getting the following exception, even though I click "Do not show this exception again".

My company has something blocked, so I cannot submit this to ITN from your dialog.

This is on version 205

JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.NullReferenceException: Object reference not set to an instance of an object.
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.GetInstance(ISolution solution) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 58
at JetBrains.ReSharper.Psi.CSharp.Impl.Caches.CSharpSymbolCacheLanguageProvider.CreateDeclaredElement(CachedCompositeBase composite) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\csharp\CSharpSymbolCacheLanguageProvider.cs:line 72
at JetBrains.ReSharper.Psi.Impl.Caches.CachedElementBuilder.ProcessNestedDeclarations(CachedBase owner, CachedDeclarationBase elementsToReuse, IEnumerable nestedDeclarations, String triePrefix) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\common\CachedElementBuilder.cs:line 153
at JetBrains.ReSharper.Psi.Impl.Caches.CachedElementBuilder.ProcessFile(CachedFile oldCache) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\common\CachedElementBuilder.cs:line 46
at JetBrains.ReSharper.Psi.Impl.Caches.SymbolCache.ValidateProjectItem(CacheKey key, CachedFile oldCache, Boolean undo, Boolean redo, Object transactionId) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\SymbolCache.cs:line 223
at JetBrains.ReSharper.Psi.Impl.Caches.CacheKey.OnUpdateCachesEventHandler(IProjectFile file, IElement ignoreThisParameter) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\CacheKey.cs:line 250
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.FireUpdateCachesEvent(IProjectFile projectFile, IElement elementContainingChanges) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 595
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\TEMP\tmp601E.tmp\src\Util\src\Logger.cs:line 285 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmp601E.tmp\src\Util\src\Logger.cs:line 297 column 5
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.FireUpdateCachesEvent(IProjectFile, IElement) in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 599 column 13
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.UpdateCaches() in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 709 column 5
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.CommitAllDocuments() in c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line 613 column 5
at JetBrains.ReSharper.TextControlToPsi.GetDeclaredElement(ISolution, ITextControl) in c:\TEMP\tmp601E.tmp\src\IDECore\src\TextControlToPsi.cs:line 44 column 7
at JetBrains.ReSharper.CommonDataRules.TextControlToDeclaredElementRule(IDataContext) in c:\TEMP\tmp601E.tmp\src\IDECore\src\CommonDataRules.cs:line 97 column 7
at JetBrains.ReSharper.ActionManagement.DataContextImpl.GetData(IDataConstant) in c:\TEMP\tmp601E.tmp\src\ActionManagement\src\DataContext\DataContextImpl.cs:line 51 column 11
at JetBrains.ReSharper.Refactorings.Rename.RenameAction.Update(IDataContext, ActionPresentation, DelegateUpdate) in c:\TEMP\tmp601E.tmp\src\Refactorings\src\Rename\Impl\RenameAction.cs:line 19 column 7
at JetBrains.ReSharper.ActionManagement.UpdatableAction.Update(IDataContext) in c:\TEMP\tmp601E.tmp\src\ActionManagement\src\Action\UpdatableAction.cs:line 46 column 9
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.UpdateAction(IUpdatableAction) in c:\TEMP\tmp601E.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 483 column 9
at JetBrains.ReSharper.IDE.ActionManagement.VSIntegration.VSActionManager.QueryStatus(String, vsCommandStatusTextWanted, vsCommandStatus&, Object&) in c:\TEMP\tmp601E.tmp\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 236 column 9
at ReSharperAddIn.QueryStatus(String, vsCommandStatusTextWanted, vsCommandStatus&, Object&) in c:\TEMP\tmp601E.tmp\src\VSIntegration\src\Connect.cs:line 228 column 3

2 comments
Comment actions Permalink

Hello Eric,

could you please notice the particular circumstances under which you get
this exception? In other words,
what are you doing when you get it?

Thanks.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I keep getting the following exception, even though I click "Do not
show this exception again".

My company has something blocked, so I cannot submit this to ITN from
your dialog.

This is on version 205

JetBrains.ReSharper.Util.InternalErrorException: An exception has
occurred ---> System.NullReferenceException: Object reference not set
to an instance of an object.
at
JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.GetInstance
(ISolution solution) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line
58
at
JetBrains.ReSharper.Psi.CSharp.Impl.Caches.CSharpSymbolCacheLanguagePr
ovider.CreateDeclaredElement(CachedCompositeBase composite) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\csharp\CSharpS
ymbolCacheLanguageProvider.cs:line 72
at
JetBrains.ReSharper.Psi.Impl.Caches.CachedElementBuilder.ProcessNested
Declarations(CachedBase owner, CachedDeclarationBase elementsToReuse,
IEnumerable nestedDeclarations, String triePrefix) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\common\CachedE
lementBuilder.cs:line 153
at
JetBrains.ReSharper.Psi.Impl.Caches.CachedElementBuilder.ProcessFile(C
achedFile oldCache) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\common\CachedE
lementBuilder.cs:line 46
at
JetBrains.ReSharper.Psi.Impl.Caches.SymbolCache.ValidateProjectItem(Ca
cheKey key, CachedFile oldCache, Boolean undo, Boolean redo, Object
transactionId) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\symbolcache\SymbolCache.cs
:line 223
at
JetBrains.ReSharper.Psi.Impl.Caches.CacheKey.OnUpdateCachesEventHandle
r(IProjectFile file, IElement ignoreThisParameter) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\caches\CacheKey.cs:line 250
at
JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.FireUpdateC
achesEvent(IProjectFile projectFile, IElement
elementContainingChanges) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line
595
--- End of inner exception stack trace ---
at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String,
Boolean) in c:\TEMP\tmp601E.tmp\src\Util\src\Logger.cs:line 285 column
9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in
c:\TEMP\tmp601E.tmp\src\Util\src\Logger.cs:line 297 column 5
at
JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.FireUpdateC
achesEvent(IProjectFile, IElement) in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line
599 column 13
at
JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.UpdateCache
s() in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line
709 column 5
at
JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.CommitAllDo
cuments() in
c:\TEMP\tmp601E.tmp\src\Psi\src\impl\PsiManager\PsiManagerImpl.cs:line
613 column 5
at JetBrains.ReSharper.TextControlToPsi.GetDeclaredElement(ISolution,
ITextControl) in
c:\TEMP\tmp601E.tmp\src\IDECore\src\TextControlToPsi.cs:line 44 column
7
at
JetBrains.ReSharper.CommonDataRules.TextControlToDeclaredElementRule(I
DataContext) in
c:\TEMP\tmp601E.tmp\src\IDECore\src\CommonDataRules.cs:line 97 column
7
at
JetBrains.ReSharper.ActionManagement.DataContextImpl.GetData(IDataCons
tant) in
c:\TEMP\tmp601E.tmp\src\ActionManagement\src\DataContext\DataContextIm
pl.cs:line 51 column 11
at
JetBrains.ReSharper.Refactorings.Rename.RenameAction.Update(IDataConte
xt, ActionPresentation, DelegateUpdate) in
c:\TEMP\tmp601E.tmp\src\Refactorings\src\Rename\Impl\RenameAction.cs:l
ine 19 column 7
at
JetBrains.ReSharper.ActionManagement.UpdatableAction.Update(IDataConte
xt) in
c:\TEMP\tmp601E.tmp\src\ActionManagement\src\Action\UpdatableAction.cs
:line 46 column 9
at
JetBrains.ReSharper.ActionManagement.ActionManagerBase.UpdateAction(IU
pdatableAction) in
c:\TEMP\tmp601E.tmp\src\ActionManagement\src\ActionManager\ActionManag
erBase.cs:line 483 column 9
at
JetBrains.ReSharper.IDE.ActionManagement.VSIntegration.VSActionManager
.QueryStatus(String, vsCommandStatusTextWanted, vsCommandStatus&,
Object&) in
c:\TEMP\tmp601E.tmp\src\VSIntegration\src\ActionManagement\VSActionMan
ager.cs:line 236 column 9
at ReSharperAddIn.QueryStatus(String, vsCommandStatusTextWanted,
vsCommandStatus&, Object&) in
c:\TEMP\tmp601E.tmp\src\VSIntegration\src\Connect.cs:line 228 column 3



0
Comment actions Permalink

This was happening once I tried to submit whatever the first exception was (I think it was different) - which failed due to our firewall. Then, at some interval (or maybe just when some paint() method got called), I repeatedly got this exception (like 40 times) until I restarted.

0

Please sign in to leave a comment.