Agent - WindowsSDKSearcher failure

Hi,

I'm getting the "Unmet requirements: MSBuildTools14.0_x86_Path exists" problem on the TC Agent.

From the log, the reason for this seems to be that the Agent is failing to search for WindowsSDK, MSBuild Toolsets and .Net frameworks. It fails with the error: "IllegalArgumentException: Argument for @NotNull parameter 'data' of jetbrains/buildServer/dotNet/searcher/sdk/WindowsSDKSearcher$1.accept must not be null".

Here's more from the log:

[2017-06-23 14:46:32,069]   INFO - cher.DotNetPropertiesExtension - Start Microsoft Windows SDK Search
[2017-06-23 14:46:32,350]   WARN - ildServer.util.EventDispatcher - Error in event handler: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'data' of jetbrains/buildServer/dotNet/searcher/sdk/WindowsSDKSearcher$1.accept must not be null
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'data' of jetbrains/buildServer/dotNet/searcher/sdk/WindowsSDKSearcher$1.accept must not be null
 at jetbrains.buildServer.dotNet.searcher.sdk.WindowsSDKSearcher$1.accept(WindowsSDKSearcher.java)
 at jetbrains.buildServer.dotNet.searcher.sdk.WindowsSDKSearcher$1.accept(WindowsSDKSearcher.java:74)
 at jetbrains.buildServer.util.CollectionsUtil.findFirst(CollectionsUtil.java:314)
 at jetbrains.buildServer.util.CollectionsUtil.contains(CollectionsUtil.java:327)
 at jetbrains.buildServer.dotNet.searcher.sdk.WindowsSDKSearcher.search(WindowsSDKSearcher.java:74)
 at jetbrains.buildServer.dotNet.searcher.DotNetPropertiesExtension.agentInitialized(DotNetPropertiesExtension.java:42)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:121)
 at jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:68)
 at com.sun.proxy.$Proxy6.agentInitialized(Unknown Source)
 at jetbrains.buildServer.agent.impl.BuildAgentImpl.init(BuildAgentImpl.java:807)
 at jetbrains.buildServer.agent.AgentMain2.startAgent(AgentMain2.java:203)
 at jetbrains.buildServer.agent.AgentMain2.main2(AgentMain2.java:79)
 at jetbrains.buildServer.agent.AgentMain2.main(AgentMain2.java:38)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at jetbrains.buildServer.agent.AgentMain.main(AgentMain.java:43)

Are you able to figure out why the agent can't find these resources as they are available on the filesystem.

Many thanks,

jd

 

 

 

 

0
1 comment

Hi John,

which version of teamcity are you using?

0

Please sign in to leave a comment.