[221][220] Exception with .txt solution item

I have a .txt file as solution item in my solution.
If I exit from VS with this .txt file opened and relaunch VS, when RS make the parse of the opened file I receive this exception:

 System.ArgumentNullException: Key cannot be null.
Parameter name: key
   at System.Collections.Hashtable.ContainsKey(Object key)
   at JetBrains.ReSharper.Util.WeakToStrongHashtable.ContainsKey(Object key) in c:\TEMP\tmpC621.tmp\src\Util\src\dataStructures\WeakToStrongHashtable.cs:line 112
   at JetBrains.ReSharper.Shell.Impl.ChangeManagerImpl.AddDependency(IChangeProvider provider, IChangeProvider dependsUpon) in c:\TEMP\tmpC621.tmp\src\Shell\src\impl\changes\ChangeManagerImpl.cs:line 520
   at JetBrains.VSAddin.TextControl.VSTextControl..ctor(ISolution solution, IVsTextView vsTextView) in c:\TEMP\tmpC621.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line 64
   at JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.RegisterView(IVsTextView view) in c:\TEMP\tmpC621.tmp\src\VSAddin\src\EditorManager\VSEditorManager.cs:line 154
   at JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.TextViewOpened(IVsTextView textView) in c:\TEMP\tmpC621.tmp\src\VSAddin\src\EditorManager\VSEditorManager.cs:line 134
   at JetBrains.ReSharper.Editor.VSIntegration.VSDocumentManager.RaiseTextViewOpened(IVsTextView textView) in c:\TEMP\tmpC621.tmp\src\VSAddin\src\Editor\VSDocumentManager.cs:line 623
   at JetBrains.ReSharper.Editor.VSIntegration.VSDocumentManager.OnNewTextView(IVsTextView textView) in c:\TEMP\tmpC621.tmp\src\VSAddin\src\Editor\VSDocumentManager.cs:line 617
   at JetBrains.ReSharper.Editor.VSIntegration.VSDocumentManager.AfterSolutionOpened() in c:\TEMP\tmpC621.tmp\src\VSAddin\src\Editor\VSDocumentManager.cs:line 931
   at JetBrains.ReSharper.ProjectModel.Impl.SolutionBase.AfterSolutionOpened() in c:\TEMP\tmpC621.tmp\src\ProjectModel\src\impl\SolutionBase.cs:line 189
   --- End of inner exception stack trace ---
 
	at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\TEMP\tmpC621.tmp\src\Util\src\Logger.cs:line 297 column 9
	at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmpC621.tmp\src\Util\src\Logger.cs:line 309 column 5
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionBase.AfterSolutionOpened() in c:\TEMP\tmpC621.tmp\src\ProjectModel\src\impl\SolutionBase.cs:line 193 column 11
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.OpenSolutionInternal(SolutionImpl, ITaskExecutor) in c:\TEMP\tmpC621.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:line 80 column 7
	at JetBrains.VSAddin.ProjectModel.VSSolutionManager.OpenCurrentSolution() in c:\TEMP\tmpC621.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 867 column 11
	at JetBrains.VSAddin.ProjectModel.VSSolutionManager.OpenVSSolution(Boolean) in c:\TEMP\tmpC621.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 366 column 11
	at JetBrains.VSAddin.ProjectModel._OnAfterOpenSolutionDelegatesClass._OnAfterOpenSolutionDelegate125() in c:\TEMP\tmpC621.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 349 column 7
	at JetBrains.ReSharper.Shell.PendingAction.Execute() in c:\TEMP\tmpC621.tmp\src\Shell\src\Invocator.cs:line 235 column 11
	at JetBrains.ReSharper.Shell.Invocator.ProcessQueue() in c:\TEMP\tmpC621.tmp\src\Shell\src\Invocator.cs:line 167 column 11
	at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
	at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
	at System.Delegate.DynamicInvokeImpl(Object[])
	at System.MulticastDelegate.DynamicInvokeImpl(Object[])
	at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
	at System.Windows.Forms.Control.WndProc(Message&)
	at System.Windows.Forms.ScrollableControl.WndProc(Message&)
	at System.Windows.Forms.ContainerControl.WndProc(Message&)
	at System.Windows.Forms.ParkingWindow.WndProc(Message&)
	at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
	at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
	at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
 
]]>

10 comments
Comment actions Permalink

Hello Antonio,

we tried to repeat this issue but without success. Does it reproduce reliably
for you?
Thanks.

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

I have a .txt file as solution item in my solution.
If I exit from VS with this .txt file opened and relaunch VS, when RS
make the parse of the opened file I receive this exception:

 has occurred ---> System.ArgumentNullException: Key cannot be null.
> Parameter name: key
> at System.Collections.Hashtable.ContainsKey(Object key)
> at
> JetBrains.ReSharper.Util.WeakToStrongHashtable.ContainsKey(Object key)
> in
> c:\TEMP\tmpC621.tmp\src\Util\src\dataStructures\WeakToStrongHashtable.
> cs:line 112
> at
> JetBrains.ReSharper.Shell.Impl.ChangeManagerImpl.AddDependency(IChange
> Provider provider, IChangeProvider dependsUpon) in
> c:\TEMP\tmpC621.tmp\src\Shell\src\impl\changes\ChangeManagerImpl.cs:li
> ne 520
> at JetBrains.VSAddin.TextControl.VSTextControl..ctor(ISolution
> solution, IVsTextView vsTextView) in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\TextControl\VSTextControl.cs:line
> 64
> at
> JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.Regist
> erView(IVsTextView view) in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\EditorManager\VSEditorManager.cs:l
> ine 154
> at
> JetBrains.ReSharper.EditorManager.VSIntegration.VSEditorManager.TextVi
> ewOpened(IVsTextView textView) in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\EditorManager\VSEditorManager.cs:l
> ine 134
> at
> JetBrains.ReSharper.Editor.VSIntegration.VSDocumentManager.RaiseTextVi
> ewOpened(IVsTextView textView) in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\Editor\VSDocumentManager.cs:line
> 623
> at
> JetBrains.ReSharper.Editor.VSIntegration.VSDocumentManager.OnNewTextVi
> ew(IVsTextView textView) in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\Editor\VSDocumentManager.cs:line
> 617
> at
> JetBrains.ReSharper.Editor.VSIntegration.VSDocumentManager.AfterSoluti
> onOpened() in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\Editor\VSDocumentManager.cs:line
> 931
> at
> JetBrains.ReSharper.ProjectModel.Impl.SolutionBase.AfterSolutionOpened
> () in
> c:\TEMP\tmpC621.tmp\src\ProjectModel\src\impl\SolutionBase.cs:line 189
> --- End of inner exception stack trace ---
> at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String,
> Boolean) in c:\TEMP\tmpC621.tmp\src\Util\src\Logger.cs:line 297 column
> 9
> at JetBrains.ReSharper.Util.Logger.LogException(Exception) in
> c:\TEMP\tmpC621.tmp\src\Util\src\Logger.cs:line 309 column 5
> at
> JetBrains.ReSharper.ProjectModel.Impl.SolutionBase.AfterSolutionOpened
> () in
> c:\TEMP\tmpC621.tmp\src\ProjectModel\src\impl\SolutionBase.cs:line 193
> column 11
> at
> JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.OpenSolution
> Internal(SolutionImpl, ITaskExecutor) in
> c:\TEMP\tmpC621.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:l
> ine 80 column 7
> at
> JetBrains.VSAddin.ProjectModel.VSSolutionManager.OpenCurrentSolution()
> in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:
> line 867 column 11
> at
> JetBrains.VSAddin.ProjectModel.VSSolutionManager.OpenVSSolution(Boolea
> n) in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:
> line 366 column 11
> at
> JetBrains.VSAddin.ProjectModel._OnAfterOpenSolutionDelegatesClass._OnA
> fterOpenSolutionDelegate125() in
> c:\TEMP\tmpC621.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:
> line 349 column 7
> at JetBrains.ReSharper.Shell.PendingAction.Execute() in
> c:\TEMP\tmpC621.tmp\src\Shell\src\Invocator.cs:line 235 column 11
> at JetBrains.ReSharper.Shell.Invocator.ProcessQueue() in
> c:\TEMP\tmpC621.tmp\src\Shell\src\Invocator.cs:line 167 column 11
> at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object,
> BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly,
> Boolean)
> at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object,
> BindingFlags, Binder, Object[], CultureInfo, Boolean)
> at System.Delegate.DynamicInvokeImpl(Object[])
> at System.MulticastDelegate.DynamicInvokeImpl(Object[])
> at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
> at System.Windows.Forms.Control.WndProc(Message&)
> at System.Windows.Forms.ScrollableControl.WndProc(Message&)
> at System.Windows.Forms.ContainerControl.WndProc(Message&)
> at System.Windows.Forms.ParkingWindow.WndProc(Message&)
> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
> at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr,
> IntPtr)
> ]]>



0
Comment actions Permalink

Yes every time that I left open these documents.
I've tried to create a new txt document (no matter the name) with these text inside:
============================
dòlfkajdfòalf
asf
adsfas
fas
fs
va
sd
as
vas
d
#dfalkdfja
@fadfa@
============================

note the '#' and '@' chars that are used in these kind of document as placeholder markers or directive.

0
Comment actions Permalink

Ah, another thing, the problem is not the .txt because of I have tried to use different file extension.

0
Comment actions Permalink

Hello Antonio,

the contents of the document definitely shouldn't matter for the exception
you posted. How many solution
items do you have in your solution? Can you please try to create a simple
solution containing only those items
and check if the problem happens in that solution?


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

Ah, another thing, the problem is not the .txt because of I have tried
to use different file extension.



0
Comment actions Permalink

Hi,
I've create a new blank solution
I've added an existing file that was in another directory (../doc/test.txt)

While VS closing I have received this exception:

 JetBrains.ReSharper.Util.InternalErrorException: Project root does not belong to the project

	at JetBrains.ReSharper.Util.InternalErrorException..ctor(String, Exception) in c:\TEMP\tmp3A4C.tmp\src\Util\src\InternalErrorException.cs:line 28 column 7
	at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 104 column 11
	at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.RemoveProjectRoot(IProjectItem) in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 104 column 7
	at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.Dispose() in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 67 column 9
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionImpl.Dispose() in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionImpl.cs:line 503 column 7
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.CloseSolutionInternal(ISolution) in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:line 123 column 11
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.Dispose() in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:line 53 column 9
	at JetBrains.VSAddin.ProjectModel.VSSolutionManager.Dispose() in c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 132 column 5
	at JetBrains.ReSharper.Component.ComponentContainer.DisposeComponent(IComponent) in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 290 column 5
	at JetBrains.ReSharper.Component.ComponentContainer.DisposeComponents() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 278 column 11
	at JetBrains.ReSharper.Component.ComponentContainer.Dispose() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 388 column 7
	at JetBrains.ReSharper.Shell.ShellBase.Shutdown() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ShellBase.cs:line 109 column 7
	at JetBrains.ReSharper.Shell.UIApplicationShell.Shutdown() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\UIApplicationShell.cs:line 693 column 9
	at JetBrains.ReSharper.Shell.VSIntegration.VSShell.Shutdown() in c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Shell\VSShell.cs:line 275 column 7
	at ReSharperAddIn.OnDisconnection(ext_DisconnectMode, Array&) in c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Connect.cs:line 170 column 7

   at JetBrains.ReSharper.Util.Logger.Assert(Boolean condition, String messageFormat, Object[] args) in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 104
   --- End of inner exception stack trace ---

	at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 297 column 9
	at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 309 column 5
	at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[]) in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 108 column 11
	at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.RemoveProjectRoot(IProjectItem) in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 104 column 7
	at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.Dispose() in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 67 column 9
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionImpl.Dispose() in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionImpl.cs:line 503 column 7
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.CloseSolutionInternal(ISolution) in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:line 123 column 11
	at JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.Dispose() in c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:line 53 column 9
	at JetBrains.VSAddin.ProjectModel.VSSolutionManager.Dispose() in c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:line 132 column 5
	at JetBrains.ReSharper.Component.ComponentContainer.DisposeComponent(IComponent) in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 290 column 5
	at JetBrains.ReSharper.Component.ComponentContainer.DisposeComponents() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 278 column 11
	at JetBrains.ReSharper.Component.ComponentContainer.Dispose() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 388 column 7
	at JetBrains.ReSharper.Shell.ShellBase.Shutdown() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ShellBase.cs:line 109 column 7
	at JetBrains.ReSharper.Shell.UIApplicationShell.Shutdown() in c:\TEMP\tmp3A4C.tmp\src\Shell\src\UIApplicationShell.cs:line 693 column 9
	at JetBrains.ReSharper.Shell.VSIntegration.VSShell.Shutdown() in c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Shell\VSShell.cs:line 275 column 7
	at ReSharperAddIn.OnDisconnection(ext_DisconnectMode, Array&) in c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Connect.cs:line 170 column 7
]]>


and then reopening the solution I've received the same error of previous posts.

Antonio.

0
Comment actions Permalink

Hello Antonio,

thanks for reporting, we'll fix that (another) problem. Please try with a
file inside the project directory.


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

Hi,
I've create a new blank solution
I've added an existing file that was in another directory
(../doc/test.txt)
While VS closing I have received this exception:

 has occurred ---> JetBrains.ReSharper.Util.InternalErrorException:
> Project root does not belong to the project
> 
> at JetBrains.ReSharper.Util.InternalErrorException..ctor(String,
> Exception) in
> c:\TEMP\tmp3A4C.tmp\src\Util\src\InternalErrorException.cs:line 28
> column 7
> at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[])
> in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 104 column 11
> at
> JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.RemoveProjectRoot(IP
> rojectItem) in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 104
> column 7
> at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 67
> column 9
> at JetBrains.ReSharper.ProjectModel.Impl.SolutionImpl.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionImpl.cs:line 503
> column 7
> at
> JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.CloseSolutio
> nInternal(ISolution) in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:l
> ine 123 column 11
> at
> JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:l
> ine 53 column 9
> at JetBrains.VSAddin.ProjectModel.VSSolutionManager.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:
> line 132 column 5
> at
> JetBrains.ReSharper.Component.ComponentContainer.DisposeComponent(ICom
> ponent) in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 290
> column 5
> at
> JetBrains.ReSharper.Component.ComponentContainer.DisposeComponents()
> in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 278
> column 11
> at JetBrains.ReSharper.Component.ComponentContainer.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 388
> column 7
> at JetBrains.ReSharper.Shell.ShellBase.Shutdown() in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\ShellBase.cs:line 109 column 7
> at JetBrains.ReSharper.Shell.UIApplicationShell.Shutdown() in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\UIApplicationShell.cs:line 693
> column 9
> at JetBrains.ReSharper.Shell.VSIntegration.VSShell.Shutdown() in
> c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Shell\VSShell.cs:line 275 column 7
> at ReSharperAddIn.OnDisconnection(ext_DisconnectMode, Array&) in
> c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Connect.cs:line 170 column 7
> at JetBrains.ReSharper.Util.Logger.Assert(Boolean condition, String
> messageFormat, Object[] args) in
> c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 104
> --- End of inner exception stack trace ---
> at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String,
> Boolean) in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 297 column
> 9
> at JetBrains.ReSharper.Util.Logger.LogException(Exception) in
> c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 309 column 5
> at JetBrains.ReSharper.Util.Logger.Assert(Boolean, String, Object[])
> in c:\TEMP\tmp3A4C.tmp\src\Util\src\Logger.cs:line 108 column 11
> at
> JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.RemoveProjectRoot(IP
> rojectItem) in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 104
> column 7
> at JetBrains.ReSharper.ProjectModel.Impl.ProjectImpl.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\ProjectImpl.cs:line 67
> column 9
> at JetBrains.ReSharper.ProjectModel.Impl.SolutionImpl.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionImpl.cs:line 503
> column 7
> at
> JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.CloseSolutio
> nInternal(ISolution) in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:l
> ine 123 column 11
> at
> JetBrains.ReSharper.ProjectModel.Impl.SolutionManagerBase.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\ProjectModel\src\impl\SolutionManagerBase.cs:l
> ine 53 column 9
> at JetBrains.VSAddin.ProjectModel.VSSolutionManager.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\ProjectModel\VSSolutionManager.cs:
> line 132 column 5
> at
> JetBrains.ReSharper.Component.ComponentContainer.DisposeComponent(ICom
> ponent) in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 290
> column 5
> at
> JetBrains.ReSharper.Component.ComponentContainer.DisposeComponents()
> in c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 278
> column 11
> at JetBrains.ReSharper.Component.ComponentContainer.Dispose() in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\ComponentContainer.cs:line 388
> column 7
> at JetBrains.ReSharper.Shell.ShellBase.Shutdown() in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\ShellBase.cs:line 109 column 7
> at JetBrains.ReSharper.Shell.UIApplicationShell.Shutdown() in
> c:\TEMP\tmp3A4C.tmp\src\Shell\src\UIApplicationShell.cs:line 693
> column 9
> at JetBrains.ReSharper.Shell.VSIntegration.VSShell.Shutdown() in
> c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Shell\VSShell.cs:line 275 column 7
> at ReSharperAddIn.OnDisconnection(ext_DisconnectMode, Array&) in
> c:\TEMP\tmp3A4C.tmp\src\VSAddin\src\Connect.cs:line 170 column 7
> ]]>

and then reopening the solution I've received the same error of
previous posts.

Antonio.



0
Comment actions Permalink

same exception while adding existing file that is in the same solution's directory and when reopening the solution:
JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.ArgumentNullException: Key cannot be null.
Parameter name: key
at System.Collections.Hashtable.ContainsKey(Object key)
at JetBrains.ReSharper.Util.WeakToStrongHashtable.ContainsKey(Object key)

0
Comment actions Permalink

Hello Antonio,

I've repeated this problem using nested subfolder of the Solution Items folder.
Thank you a lot for your help!


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

same exception while adding existing file that is in the same
solution's directory and when reopening the solution:
JetBrains.ReSharper.Util.InternalErrorException: An exception has
occurred ---> System.ArgumentNullException: Key cannot be null.
Parameter name: key
at System.Collections.Hashtable.ContainsKey(Object key)
at
JetBrains.ReSharper.Util.WeakToStrongHashtable.ContainsKey(Object key)



0
Comment actions Permalink

in the last build (222) I receive this exception:
JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> JetBrains.ReSharper.Util.InternalErrorException: Failed to invoke COM. HRESULT=-2147024809

file attached is the result of "Show Log" item menu



Attachment(s):
ReSharper.Log
0
Comment actions Permalink

Hello Antonio,

we've fixed this problem in 223, thanks for reporting.


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

in the last build (222) I receive this exception:
JetBrains.ReSharper.Util.InternalErrorException: An exception has
occurred ---> JetBrains.ReSharper.Util.InternalErrorException: Failed
to invoke COM. HRESULT=-2147024809
file attached is the result of "Show Log" item menu



0

Please sign in to leave a comment.