chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi all,

On each of the buildagents that I use (Windows Server 2012 R2 with TFS 2013 U2) I receive the following error when I try to run my TypeMock-enabled builds. Could someone indicate where to look for a possible solution? I am using the latest 7.5.6 version.

Exception Message: Exception has been thrown by the target of an invocation. (type TargetInvocationException)
Exception Stack Trace:    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
   at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
   at TypeMock.TFS2013.BuildTasksFactory.CreateStart(Dictionary`2 startValues)
   at TypeMock.TFS2013.TypeMockStart.ExecuteInternal(BuildTasksFactory tasksFactory)
   at TypeMock.TFS2013.TypeMockCodeActivityBase.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Inner Exception Details:

Exception Message: Value cannot be null.
Parameter name: path1 (type ArgumentNullException)
Exception Stack Trace:    at System.IO.Path.Combine(String path1, String path2)
   at Configuration.AutoLinkSession.StartGlobalSession()
   at TypeMock.CLI.Common.TypeMockStartInfo.Execute()
   at TypeMock.CLI.Common.TypeMockStartInfo..ctor()
asked by rpaardekam (9.6k points)

17 Answers

0 votes
Hi Bar and others,

any news on the progress? I would like to estimate when I can continue my build-activities using the TFS2013 template and the assemblypath and template issues are currently blocking my progress. I don't mean to push things too much, but I just want to be ab le to provide an estimate. Can you provide an update? Thanks in advance.

Robin
answered by rpaardekam (9.6k points)
0 votes
Hi,

It should be ready till the end of next week.
I will update here when it will be ready.
answered by Bar (3.6k points)
0 votes
THANKS BAR! Looking forward to it.
answered by rpaardekam (9.6k points)
0 votes
Hi guys,

any update on the progress?

Regards, Robin.
answered by rpaardekam (9.6k points)
0 votes
I would really appreciate an update on this topic. Can you provide a new eta for the fix?
answered by rpaardekam (9.6k points)
0 votes
Hi,

Sorry for the delay, It Should be ready untill the end of this week.
answered by Bar (3.6k points)
0 votes
That would mean: tomorrow at the latest. I am looking forward to it for weeks now... I'm awaiting the news in this topic, thanks.
answered by rpaardekam (9.6k points)
...