Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NullReferenceException with NCrunch 3.9.0.1
CsabaFabian
#1 Posted : Friday, July 7, 2017 2:07:00 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/10/2016(UTC)
Posts: 20
Location: Switzerland

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi!

We're having a sporadic issue when running the test from bamboo with the console app. Please see the logs below.



Quote:
07-Jul-2017 15:54:15 NCrunch Console Tool v3.9.0.1
07-Jul-2017 15:54:15 Copyright c 2010-2017 Remco Software Ltd
07-Jul-2017 15:54:15 Usage of this tool is permitted only under the terms described in License.rtf

[15:55:28.83-LocalBuildTask-15] Now building XXX
07-Jul-2017 15:55:28 [15:55:28.9392-?-33] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-28] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-30] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-11] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-31] Ceasing to send messages because of an error (was the connection closed?): nCrunch.Core.Grid.Connectivity.Zlib.ZlibException: Something is fishy. [stream error]
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at  .(FlushType )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.ZlibCodec.Deflate(FlushType flush)
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-34] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-23] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-11] Ceasing to send messages because of an error (was the connection closed?): System.ObjectDisposedException: Cannot access a disposed object.
07-Jul-2017 15:55:28 Object name: 'System.Net.Sockets.NetworkStream'.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9392-?-30] Ceasing to send messages because of an error (was the connection closed?): System.ObjectDisposedException: Cannot access a disposed object.
07-Jul-2017 15:55:28 Object name: 'System.Net.Sockets.NetworkStream'.
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Server stack trace:
07-Jul-2017 15:55:28 at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
07-Jul-2017 15:55:28 at  .Write(Byte[] , Int32 , Int32 )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
07-Jul-2017 15:55:28
07-Jul-2017 15:55:28 Exception rethrown at [0]:
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
07-Jul-2017 15:55:28 at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream..EndInvoke(IAsyncResult )
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
07-Jul-2017 15:55:28 at nCrunch.Core.Grid.Connectivity.GridMessageSender.(IAsyncResult )
07-Jul-2017 15:55:28 [15:55:28.9548-Core-7] Connection established with remote grid node at NCRUNCH-NODE106
07-Jul-2017 15:55:28 [15:55:28.9548-Core-7] Connection established with remote grid node at NCRUNCH-NODE71
07-Jul-2017 15:55:28 [15:55:28.9704-Core-7] Connection established with remote grid node at NCRUNCH-NODE105
07-Jul-2017 15:55:28 [15:55:28.9704-Core-7] Connection established with remote grid node at NCRUNCH-NODE72
07-Jul-2017 15:55:28 [15:55:28.9704-Core-7] Connection established with remote grid node at NCRUNCH-NODE74
07-Jul-2017 15:55:28 [15:55:28.9704-Core-7] Connection established with remote grid node at NCRUNCH-NODE73
07-Jul-2017 15:55:28 [15:55:28.9704-Core-7] Connection established with remote grid node at NCRUNCH-NODE84
07-Jul-2017 15:55:28 [15:55:28.986-Core-7] Connection established with remote grid node at NCRUNCH-NODE81
07-Jul-2017 15:55:28 [15:55:28.986-Core-7] Connection established with remote grid node at NCRUNCH-NODE83
07-Jul-2017 15:55:28 [15:55:28.986-Core-7] Connection established with remote grid node at NCRUNCH-NODE82
07-Jul-2017 15:55:30 [15:55:30.8112-LocalBuildTask-15] Build was successful for C:\Users\bamboo\AppData\Local\NCrunch\12172\1\Core\bin\Debug\XXX.dll
07-Jul-2017 15:55:30 [15:55:30.858-LocalBuildTask-39] Building new workspace C:\Users\bamboo\AppData\Local\NCrunch\12172\2 for component MyProject.Wpf in context of grid client (local)
07-Jul-2017 15:55:30 [15:55:30.936-Core-40] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:30 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
07-Jul-2017 15:55:30 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestDataUpdatedEvent )
07-Jul-2017 15:55:30
07-Jul-2017 15:55:30 [15:55:30.936-Core-40] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:30 at nCrunch.Client.Model.ModelCodeMember.get_FilePath()
07-Jul-2017 15:55:30 at nCrunch.Client.Navigation.CodeNavigationSynchroniser.(ModelTest )
07-Jul-2017 15:55:30 at nCrunch.Client.Navigation.CodeNavigationSynchroniser.(ModelTest , CodeNavigationIndexUpdate )
07-Jul-2017 15:55:30 at nCrunch.Client.Navigation.CodeNavigationSynchroniser.(TestDataUpdatedEvent )
07-Jul-2017 15:55:30
07-Jul-2017 15:55:30 [15:55:30.9672-Core-40] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:30 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
07-Jul-2017 15:55:30 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
07-Jul-2017 15:55:30 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
07-Jul-2017 15:55:30 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
07-Jul-2017 15:55:30 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
07-Jul-2017 15:55:30
07-Jul-2017 15:55:30 [15:55:30.9672-LocalBuildTask-39] Now building MyProject.Wpf
07-Jul-2017 15:55:31 [15:55:31.17-Core-37] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
07-Jul-2017 15:55:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
07-Jul-2017 15:55:31 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
07-Jul-2017 15:55:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
07-Jul-2017 15:55:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
07-Jul-2017 15:55:31
07-Jul-2017 15:55:35 [15:55:35.4756-LocalBuildTask-39] Build was successful for C:\Users\bamboo\AppData\Local\NCrunch\12172\2\Wpf\bin\x86\Debug\MyProject.Wpf.dll
07-Jul-2017 15:55:35 [15:55:35.4756-LocalBuildTask-42] Building new workspace C:\Users\bamboo\AppData\Local\NCrunch\12172\3 for component MyProject.Wpf.TestApi in context of grid client (local)
07-Jul-2017 15:55:35 [15:55:35.4756-Core-41] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:35 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
07-Jul-2017 15:55:35 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
07-Jul-2017 15:55:35 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
07-Jul-2017 15:55:35 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
07-Jul-2017 15:55:35 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
07-Jul-2017 15:55:35
07-Jul-2017 15:55:35 [15:55:35.5224-LocalBuildTask-42] Now building MyProject.Wpf.TestApi
07-Jul-2017 15:55:36 [15:55:36.5988-LocalBuildTask-42] Build was successful for C:\Users\bamboo\AppData\Local\NCrunch\12172\3\Wpf.TestApi\bin\x86\Debug\MyProject.Wpf.TestApi.dll
07-Jul-2017 15:55:36 [15:55:36.6144-Core-45] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
07-Jul-2017 15:55:36 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
07-Jul-2017 15:55:36
07-Jul-2017 15:55:36 [15:55:36.8172-Core-48] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
07-Jul-2017 15:55:36 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
07-Jul-2017 15:55:36 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
Remco
#2 Posted : Saturday, July 8, 2017 12:02:18 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, thanks for posting.

There are two different exceptions thrown here. One is related to connectivity, and is known to be caused by unexpected disconnection with a grid node. This is essentially a 'noise' exception, as the client will always reconnect when this happens. There are some improvements coming for the connectivity code with the upcoming v3.10 release.

The second exception is more mysterious. I have a feeling this might be caused by .cache file corruption. Would you be able to try clearing out your NCrunch cache file on the machine running the console tool to see if this resolves the problem?
CsabaFabian
#3 Posted : Thursday, July 13, 2017 3:27:58 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/10/2016(UTC)
Posts: 20
Location: Switzerland

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Thanks for the quick feedback, Remco.

I had time today to look into it and delete the cache. Unfortunately it did not help - although I am not sure if it is the same issue:

13-Jul-2017 16:01:26 [16:01:26.2297-LocalBuildTask-14] Build was successful for C:\Users\<bamboo-user>\AppData\Local\NCrunch\3616\1\Core\bin\Debug\MyProject.Core.dll
13-Jul-2017 16:01:26 [16:01:26.3389-LocalBuildTask-49] Building new workspace C:\Users\<bamboo-user>\AppData\Local\NCrunch\3616\2 for component MyProject.Wpf in context of grid client (local)
13-Jul-2017 16:01:26 [16:01:26.4481-Core-48] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestDataUpdatedEvent )
13-Jul-2017 16:01:26
13-Jul-2017 16:01:26 [16:01:26.4481-Core-48] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
13-Jul-2017 16:01:26 at nCrunch.Client.Model.ModelCodeMember.get_FilePath()
13-Jul-2017 16:01:26 at nCrunch.Client.Navigation.CodeNavigationSynchroniser.(ModelTest )
13-Jul-2017 16:01:26 at nCrunch.Client.Navigation.CodeNavigationSynchroniser.(ModelTest , CodeNavigationIndexUpdate )
13-Jul-2017 16:01:26 at nCrunch.Client.Navigation.CodeNavigationSynchroniser.(TestDataUpdatedEvent )
13-Jul-2017 16:01:26
13-Jul-2017 16:01:26 [16:01:26.4793-LocalBuildTask-49] Now building MyProject.Wpf
13-Jul-2017 16:01:26 [16:01:26.4793-Core-48] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
13-Jul-2017 16:01:26 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
13-Jul-2017 16:01:26
13-Jul-2017 16:01:26 [16:01:26.6977-Core-51] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
13-Jul-2017 16:01:26 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
13-Jul-2017 16:01:26 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
13-Jul-2017 16:01:26
13-Jul-2017 16:01:31 [16:01:31.0833-LocalBuildTask-49] Build was successful for C:\Users\<bamboo-user>\AppData\Local\NCrunch\3616\2\Wpf\bin\x86\Debug\MyProject.Wpf.dll
13-Jul-2017 16:01:31 [16:01:31.0833-LocalBuildTask-54] Building new workspace C:\Users\<bamboo-user>\AppData\Local\NCrunch\3616\3 for component MyProject.Wpf.TestApi in context of grid client (local)
13-Jul-2017 16:01:31 [16:01:31.0833-Core-53] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
13-Jul-2017 16:01:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 )
13-Jul-2017 16:01:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder..()
13-Jul-2017 16:01:31 at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity)
13-Jul-2017 16:01:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(IEnumerable`1 , DateTime )
13-Jul-2017 16:01:31 at nCrunch.Client.TestPipeline.TestPipelineBuilder.(TestResultsOutdatedEvent )
13-Jul-2017 16:01:31
13-Jul-2017 16:01:31 [16:01:31.1301-LocalBuildTask-54] Now building MyProject.Wpf.TestApi
13-Jul-2017 16:01:32 [16:01:32.2719-LocalBuildTask-54] Build was successful for C:\Users\<bamboo-user>\AppData\Local\NCrunch\3616\3\Wpf.TestApi\bin\x86\Debug\MyProject.Wpf.TestApi.dll
13-Jul-2017 16:01:32 [16:01:32.6161-LocalAnalysisTask-44] Calling into task runner to analyse target assembly: C:\Users\<bamboo-user>\AppData\Local\NCrunch\3616\3\Wpf.TestApi\bin\x86\Debug\MyProject.Wpf.TestApi.dll
Remco
#4 Posted : Thursday, July 13, 2017 10:53:11 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi, this does look like the same issue. We have at least one test here that is somehow disassociated with all the projects in your solution, so it's basically floating around disconnected. This could be due to something going wrong in the startup process, or cache data corruption, or possibly something related to the structure of one of the tests.

I'm presently not aware of any way that a test can reach this state. I've seen similar reports from other users, but deleting the .cache file always fixed it and the problem has not yet been reproduced.

It may be quite hard to track this down.

Do you have this problem appearing only when using the console tool? Does it appear for you in the NCrunch VS client too?
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.198 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download