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

Notification

Icon
Error

Console tool, -GridServerReferencesForSolution results in InvalidCastException
GreenMoose
#1 Posted : Thursday, June 14, 2018 6:35:55 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 379

Thanks: 82 times
Was thanked: 40 time(s) in 39 post(s)
[v3.17.0.2]

I try to execute ncrunch console with a grid node with syntax below:
Code:

&"X:\_tmp\NConsole\NCrunch.exe" Solution.sln /o "X:\_tmp\NCResults" -NCrunchCacheStoragePath "X:\_tmp\NCCache" -WorkspaceBasePath "X:\_tmp\NcWc" /vs "2012" -ConsiderInconclusiveTestsAsPassing True -MaxNumberOfProcessingThreads 3 /TeamCityDisableTestNotRunFailureReporting -GridServerReferencesForSolution "comp.my.domain>encryptedText123=" -TestsToExecuteAutomatically "..."


But I get below error in log:
Code:

[18:44:02][Step 5/7] [Core-8] ERROR (Internal): System.InvalidCastException: Unable to cast object of type 'nCrunch.Core.Configuration.GridServerReference' to type 'nCrunch.Core.Configuration.GridServerReference[]'.
[18:44:02][Step 5/7] [Core-8] at nCrunch.Core.Settings.SettingExtensions.Get[TValueType](NonComponentSetting`1 setting)
[18:44:02][Step 5/7] [Core-8] at nCrunch.Client.Grid.GridServerAddressConfiguration.GetGridServerReferences()
[18:44:02][Step 5/7] [Core-8] at nCrunch.Client.Grid.GridClient. ()
[18:44:02]
[Step 5/7] [Core-8] at nCrunch.Client.Grid.GridClient. (EngineEnabledEvent )


Am I specifying grid node parameter incorrectly?

Thanks
GreenMoose
#2 Posted : Tuesday, June 19, 2018 3:43:29 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 379

Thanks: 82 times
Was thanked: 40 time(s) in 39 post(s)
Nothing? :)
FWIW, I also get same error if using multiple nodes in the parameter like "node>encryptedText123=;node2>encryptedText123=" .
Users browsing this topic
Guest (3)
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.015 seconds.