English 中文(简体)
团队建设中的Pex错误(TFS 2010 Building)
原标题:Pex error during the team build ( TFS 2010 Build )

We have been using pex and moles for unitest with TFS2010. Lately the pex and moles started to crash randomly during the test run. We couldn t reproduce this error on developer machine. Crash only happen on Team build servers. We are using version en_visual_studio_2010_pex_0.94.51006.1_power_tools_x86_exe_593303

这里是建筑标志的错误。

Test Run Error.
Passed  270

Total   270
Results file:  C:Builds8Release-1Dev_DotNetFramework_IntegrationTestResultsXXX_XXX_2011-11-23 02_11_07_Any CPU_Debug.trx
Test Settings: XXXX

Run has the following issue(s):
[host] An unhandled exception System.NullReferenceException occured while executing the unit tests
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Messaging.MessageEnumerator.Close()
at System.Messaging.MessageEnumerator.Dispose(Boolean disposing)
at System.Messaging.MessageEnumerator.Finalize()
[agent] host process exited with exit code 255 - 0xff. See http://research.microsoft.com/en-us/um/redmond/projects/pex/wiki/Exit Codes for more information.

Here are event logs from build server

1 P-4, 1 P-3, 1 FS, 1 NS

Application: Microsoft.Moles.VsHost.x86.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
   at System.Messaging.MessageEnumerator.Close()
   at System.Messaging.MessageEnumerator.Dispose(Boolean)
   at System.Messaging.MessageEnumerator.Finalize()

2)

Faulting application name: Microsoft.Moles.VsHost.x86.exe, version: 0.94.51006.1, time stamp: 0x4cacdf4d
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x12f17f38
Faulting process id: 0x3768
Faulting application start time: 0x01cca9af1bf4bcf3
Faulting application path: c:Program Files (x86)Microsoft Visual Studio 10.0Common7IDEPrivateAssembliesMicrosoft.Moles.VsHost.x86.exe
Faulting module path: unknown
Report Id: 85a87b73-15a2-11e1-a29e-78e7d1906fee
问题回答

暂无回答




相关问题
Ruby Interpreter crashes with a certain word

Ok, this one s a little ridiculous, and I m almost afraid no one will believe me. But here it goes: I have written a Ruby Rails application that handles content for tons of domains. Now I know this ...

Java HotSpot error

Curious if anyone could help out in regards to a Java HotSpot dump...saw some reference to head over to the Sun Forums, figured I would try here first...below is the dump... # # An unexpected error ...

NSOperation performSelectorOnMainThread crashes

I m calling a NSOperation from a Subview of a NavigationController. MyOperation *op = [[MyOperation alloc] target:self action:@selector(didFinishOperation)]; The Operation loads some data from a ...

Is this kind of crash report useless?

I tried use "PLCrashReport" to collect the crash info then make the app more stable, but turns out that the report is like this(dont even has a call stack,how am I suppose to use it?): The "Exception:...

Xcode crashes with divide by zero

I downloaded urlcache.zip from http://developer.apple.com/iphone/library/samplecode/URLCache/index.html#//apple_ref/doc/uid/DTS40008061 I opened the project in xcode and clicked on urlcacheconection....

热门标签