"Unhandled exception" from ReSharper 4.1 on post-build step

Hi,
I have ReSharper 4.1 installed on VS2008 SP1.
Every time I build my solution I get the following "Unhandled exception" from ReSharper:

=========================================================================================================
JetBrains.Util.LoggerException: The condition “delta.OldPath == Location || (delta.NewPath == Location && delta.ChangeType == FileSystemChangeType.RENAMED)” is false. oldPath=C:\My Original Path\mykey.snk newPath=C:\My Original Path\mykey.snk Location=C:\My New Path\mykey.snk changeType=CHANGED

at JetBrains.Util.Logger.Fail(String) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Logger\Logger.cs:line 264 column 9
at JetBrains.Util.Logger.Assert(Boolean, String, Object[]) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Logger\Logger.cs:line 168 column 5
at JetBrains.ProjectModel.Impl.ProjectFileImpl.ApplyFileSystemChange(FileSystemChangeDelta, FileSystemChangeDelta, HashSet`1) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\ProjectModel\src\impl\ProjectFileImpl.cs:line 149 column 7
at JetBrains.ProjectModel.Impl.ExternalChangeProcessor.ProcessElementsAffectedByExternalChange(IEnumerable`1, Boolean) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\ProjectModel\src\impl\ExternalChangeProcessor.cs:line 220 column 9
at JetBrains.ProjectModel.Impl.ProcessExternalChangeActivity.Finish() in c:\Agent\work\3f4db6fd459dabcd\Platform\src\ProjectModel\src\impl\ExternalChangeProcessor.cs:line 294 column 11
at JetBrains.Application.InterruptableReadActivity.FinishingProc() in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Shell\src\InterruptableReadActivity.cs:line 166 column 6
at JetBrains.Threading.ReentrancyGuard.Execute(String, Action) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 282 column 6
at JetBrains.Threading.ReentrancyGuard.]]>b__4(QueuedAction) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 472 column 40
at JetBrains.Threading.InterlockedQueue.TryDequeue(Action`1) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 823 column 5
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 475 column 3
at JetBrains.Threading.Closure.Run() in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 475 column 8
at System.RuntimeMethodHandle._InvokeMethodFast(Object, Object[], SignatureStruct&, MethodAttributes, RuntimeTypeHandle)
at System.RuntimeMethodHandle.InvokeMethodFast(Object, Object[], Signature, MethodAttributes, RuntimeTypeHandle)
at System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object)
at System.Threading.ExecutionContext.runTryCode(Object)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, Object)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext, ContextCallback, Object)
at System.Threading.ExecutionContext.Run(ExecutionContext, ContextCallback, Object)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
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.Form.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

at JetBrains.Util.Logger.Fail(String messageText) in c:\Agent\work\3f4db6fd459dabcd\Platform\src\Util\src\Logger\Logger.cs:line 264
=========================================================================================================

On the post-build step the file C:\My Original Path\mykey.snk is being copied to the C:\My New Path\mykey.snk with xcopy command.
One of the nasty consequencies of that exception is that sometimes build corrupts the DLL in the output folders of project (truncates one of DLLs to zero size) - and it's hard to notice when its happens thus the corrupted DLLs ends up in the build output and fails the runtime.

Is there any fix available for that problem???

BTW, I tried to submit this issue automatically, but I keep getting the following error:

-


Error submitting exception to JIRA
-


Network or server error. JIRA server may be down.
Response from server does not contain valid XML.
-


OK
-



I thought it could be because of the corporate firewall, but sometimes I was able to submit the other issues.

Please sign in to leave a comment.