Optimizing code ReSharper exception

Hi,

I hope this is the right forum to post this:
I've downloaded the last evaluation version of Resharper only because I was told it contains a feature to remove unneeded using statements.
I started to use it and everytime I run it on one of our projects (we got 67 projects in our solution) I get this exception.
None of our development machines is connected to the internet so I could not send the error report the usual way.

Here is the callstack:


JetBrains.ReSharper.Util.InternalErrorException: Failed to modify document
An exception has occurred ---> JetBrains.ReSharper.Util.InternalErrorException: Failed to modify document

at JetBrains.ReSharper.Util.InternalErrorException..ctor(String, Exception) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\InternalErrorException.cs:line 28 column 7
at JetBrains.ReSharper.Util.Logger.Fail(String, Object[]) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 144 column 9
at JetBrains.VSAddin.Editor.VSDocumentOperationsHandler.ReplaceText(TextRange, String) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\Editor\DocumentOperationHandlers.cs:line 207 column 15
at JetBrains.ReSharper.Editor.VSIntegration.VSDocument.ReplaceText(TextRange, String) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\Editor\VSDocument.cs:line 129 column 9
at JetBrains.ReSharper.CodeInsight.ReformatCode.ReformatCodeActionBase.FormatFiles(Context, ReformatCodeOptions) in c:\Agent\work\Server\ReSharper2.5\src\CodeInsight\src\ReformatCode\ReformatCodeAction.cs:line 168 column 15
at JetBrains.ReSharper.CodeInsight.ReformatCode.ReformatCodeActionBase.Execute(IDataContext, DelegateExecute) in c:\Agent\work\Server\ReSharper2.5\src\CodeInsight\src\ReformatCode\ReformatCodeAction.cs:line 83 column 13
at JetBrains.ReSharper.ActionManagement.ExecutableAction.Execute(IDataContext) in c:\Agent\work\Server\ReSharper2.5\src\ActionManagement\src\Action\ExecutableAction.cs:line 29 column 13
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction, IDataContext) in c:\Agent\work\Server\ReSharper2.5\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 548 column 11
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction) in c:\Agent\work\Server\ReSharper2.5\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 528 column 5
at JetBrains.VSAddin.ActionManagement.VSActionManager.Exec(String, vsCommandExecOption, Object&, Object&, Boolean&) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ActionManagement\VSActionManager.cs:line 494 column 11
at JetBrains.VSAddin.AbstractAddIn.Exec(String, vsCommandExecOption, Object&, Object&, Boolean&) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\Connect.cs:line 260 column 7

at JetBrains.ReSharper.Util.Logger.Fail(String messageFormat, Object[] args) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 144
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 350 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 362 column 5
at JetBrains.ReSharper.Util.Logger.Fail(String, Object[]) in c:\Agent\work\Server\ReSharper2.5\src\Util\src\Logger.cs:line 148 column 9
at JetBrains.VSAddin.Editor.VSDocumentOperationsHandler.ReplaceText(TextRange, String) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\Editor\DocumentOperationHandlers.cs:line 207 column 15
at JetBrains.ReSharper.Editor.VSIntegration.VSDocument.ReplaceText(TextRange, String) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\Editor\VSDocument.cs:line 129 column 9
at JetBrains.ReSharper.CodeInsight.ReformatCode.ReformatCodeActionBase.FormatFiles(Context, ReformatCodeOptions) in c:\Agent\work\Server\ReSharper2.5\src\CodeInsight\src\ReformatCode\ReformatCodeAction.cs:line 168 column 15
at JetBrains.ReSharper.CodeInsight.ReformatCode.ReformatCodeActionBase.Execute(IDataContext, DelegateExecute) in c:\Agent\work\Server\ReSharper2.5\src\CodeInsight\src\ReformatCode\ReformatCodeAction.cs:line 83 column 13
at JetBrains.ReSharper.ActionManagement.ExecutableAction.Execute(IDataContext) in c:\Agent\work\Server\ReSharper2.5\src\ActionManagement\src\Action\ExecutableAction.cs:line 29 column 13
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction, IDataContext) in c:\Agent\work\Server\ReSharper2.5\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 548 column 11
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction) in c:\Agent\work\Server\ReSharper2.5\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 528 column 5
at JetBrains.VSAddin.ActionManagement.VSActionManager.Exec(String, vsCommandExecOption, Object&, Object&, Boolean&) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\ActionManagement\VSActionManager.cs:line 494 column 11
at JetBrains.VSAddin.AbstractAddIn.Exec(String, vsCommandExecOption, Object&, Object&, Boolean&) in c:\Agent\work\Server\ReSharper2.5\src\VSAddin\src\Connect.cs:line 260 column 7




We are using VS2005, and Rational ClearCase as a source control tool.

I will be happy to provide any more information.

Thanks,

Oren.

1 comment
Comment actions Permalink

Hello,

We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-37846.

Best regards,
- Development Team.


0

Please sign in to leave a comment.